Skip to content

ci: pin npx CLI versions#3

Open
art-tykh wants to merge 1 commit into
mainfrom
ci/pin-npx
Open

ci: pin npx CLI versions#3
art-tykh wants to merge 1 commit into
mainfrom
ci/pin-npx

Conversation

@art-tykh

Copy link
Copy Markdown

Pin the versions of CLI tools invoked via npx in CI so builds resolve a fixed version instead of whatever is latest-published at run time.

Copilot AI review requested due to automatic review settings July 17, 2026 12:13
@art-tykh
art-tykh requested a review from a team as a code owner July 17, 2026 12:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the Commitlint CLI version used in the Symfony/PHP reusable GitHub Actions workflow to improve CI determinism (avoiding “latest at runtime” resolution via npx).

Changes:

  • Update commit validation steps to run a version-pinned Commitlint CLI via npx @commitlint/cli@21.2.1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +166 to +168
npx @commitlint/cli@21.2.1 --from HEAD~1 --to HEAD --verbose --config ${{ inputs.commitlint-config }}
else
npx commitlint --from HEAD~1 --to HEAD --verbose
npx @commitlint/cli@21.2.1 --from HEAD~1 --to HEAD --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants