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.
Problem
The required Azure Pipelines build runs:
This floats the
markdownlint-cli2version and relies on implicit configuration discovery, while the restored GitHub Lint workflow pinsmarkdownlint-cli2@0.17.2and explicitly passes--config .markdownlint.json. The required and advisory CI paths can therefore disagree.Proposed change
markdownlint-cli2version.--config .markdownlint.jsonexplicitly.connectors-sdk.publicpipeline 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.ymland any directly required package-lock or validation surface.Follow-up from #252.