Skip to content

ci: align Azure Pipelines Markdown lint with GitHub workflow #254

Description

@daviburg

Problem

The required Azure Pipelines build runs:

npx --userconfig eng/ci/.npmrc markdownlint-cli2 '**/*.md'

This floats the markdownlint-cli2 version and relies on implicit configuration discovery, while the restored GitHub Lint workflow pins markdownlint-cli2@0.17.2 and explicitly passes --config .markdownlint.json. The required and advisory CI paths can therefore disagree.

Proposed change

  • Pin the Azure Pipelines Markdown lint command to the repository-approved markdownlint-cli2 version.
  • Pass --config .markdownlint.json explicitly.
  • Validate the connectors-sdk.public pipeline and the GitHub Markdown lint job against the same commit.

Scope

Limit the change to the Markdown lint command in eng/ci/templates/jobs/build-artifacts.yml and any directly required package-lock or validation surface.

Follow-up from #252.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions