Repository navigation
ci(github-actions): pin public actions to commit SHAs - #23340
Merged
Merged
Conversation
Copilot stopped reviewing on behalf of
hbelkhir due to an error
October 30, 2026 11:21
Copilot stopped reviewing on behalf of
hbelkhir due to an error
October 30, 2026 11:22
Contributor
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Copilot review overview
No open issues 🎉
What changed in this PR
Pins third-party GitHub Actions in workflows to specific commit SHAs to improve supply-chain security and build reproducibility.
Changes:
- Replaced version tags (e.g.,
@v4) with full commit SHAs across multiple workflows. - Added inline comments indicating the intended action version corresponding to each pinned SHA.
| File | Description |
|---|---|
| .github/workflows/run-bdd-tests.yml | Pins checkout, setup-node, cache, nx-set-shas, and free-disk-space actions to SHAs for deterministic BDD runs. |
| .github/workflows/release-branch-checker.yaml | Pins actions/github-script to a SHA for consistent branch check behavior. |
| .github/workflows/pr-triage.yml | Pins actions/stale to a SHA for stable PR triage automation. |
| .github/workflows/pr-inspector.yml | Pins multiple PR inspection/labeling actions to SHAs to reduce supply-chain risk. |
| .github/workflows/pnpm-migration.yml | Pins checkout and setup-node actions to SHAs for reproducible migration runs. |
| .github/workflows/linter.yaml | Pins common CI actions to SHAs to keep lint workflow deterministic. |
| .github/workflows/gh-pages.yaml | Pins build and deploy actions to SHAs for consistent Pages deployments. |
| .github/workflows/commitlint.yaml | Pins checkout and commitlint action to SHAs for stable commit message checks. |
| .github/workflows/check-translations.yml | Pins actions/github-script to a SHA for consistent translation label checks. |
| .github/workflows/check-duplicates-translations.yml | Pins common CI actions (checkout/setup-node/cache/nx-set-shas) to SHAs for deterministic checks. |
| .github/workflows/auto-pr-release.yaml | Pins checkout and PR sync action to SHAs for reproducible automated PR releases. |
Review effort: Lite
Signed-off-by: Hazem Belkhiria <hazem.belkhiria.ext@ovhcloud.com>
hbelkhir
force-pushed
the
ci/pin-github-actions-versions
branch
from
October 30, 2026 13:08
1ed9871 to
a273425
Compare
Copilot stopped reviewing on behalf of
hbelkhir due to an error
October 30, 2026 13:09
Copilot stopped reviewing on behalf of
hbelkhir due to an error
October 30, 2026 13:09
Contributor
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Copilot review overview
4 open issues
Thesteps:list items appear to be indented at the same level as thesteps:key. In GitHub… · New The same pinned action SHAs are duplicated across many workflows/files. This makes future bumps… · New The same pinned action SHAs are duplicated across many workflows/files. This makes future bumps… · New The same pinned action SHAs are duplicated across many workflows/files. This makes future bumps… · New
Review effort: Lite
Comment on lines
15
to
+18
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 | ||
| - name: pull-request | ||
| uses: repo-sync/pull-request@v2 | ||
| uses: repo-sync/pull-request@7e79a9f5dc3ad0ce53138f01df2fad14a04831c5 # v2.12.1 |
| # ------------------------------------------ | ||
| - name: Restore pnpm binary | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 |
| # ------------------------------------------ | ||
| - name: Restore Yarn cache | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 |
| # ------------------------------------------ | ||
| - name: Restore Nx cache | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 |
acavalloni
approved these changes
Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Pin every public action used in .github/workflows to a full commit SHA, with the release in a trailing comment. The major version in use is kept, only the latest patch of that major is picked. mschilde/auto-label-merge-conflicts and Simek/yarn-lock-changes tracked a moving branch (master/main) and are now pinned to their latest release (v2.0 and v0.14.1).
Description
Ticket Reference: #...
Additional Information