Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR hardens the repository’s GitHub Actions supply-chain security posture by replacing floating action tags/branches in workflow uses: directives with pinned commit SHAs (leaving local ./ references unchanged).
Changes:
- Pinned all third-party
uses:references in.github/workflows/*.ymlto exact commit SHAs while retaining the original tag/branch as an inline comment. - Updated multiple workflows consistently to use the same pinned SHAs for shared actions (e.g.,
actions/checkout,ruby/setup-ruby). - Normalized the previously-indented
.github/workflows/add-untriaged.ymlso it has correct top-level YAML structure while also pinningactions/github-script.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/test-unreleased.yml | Pins setup/checkout/cache/upload actions to SHAs for the unreleased integration workflow. |
| .github/workflows/release_drafter.yml | Pins checkout/manual-approval/setup-ruby/aws-credentials/gh-release actions to SHAs for the release drafting flow. |
| .github/workflows/main.yml | Pins checkout and setup-ruby actions to SHAs across the main integration test matrix jobs. |
| .github/workflows/lint.yml | Pins checkout and setup-ruby actions to SHAs for the RuboCop workflow. |
| .github/workflows/links.yml | Pins checkout and lychee link checker action to SHAs. |
| .github/workflows/license.yml | Pins checkout and setup-ruby actions to SHAs for the license header check. |
| .github/workflows/delete_backport_branch.yml | Pins delete-merged-branch action from @main to a specific commit SHA. |
| .github/workflows/compatibility.yml | Pins checkout and setup-ruby actions to SHAs for compatibility matrix workflows. |
| .github/workflows/change_log.yml | Pins checkout and changelog-enforcer actions to SHAs. |
| .github/workflows/backport.yml | Pins github-app-token and backport actions to SHAs for the backport automation. |
| .github/workflows/add-untriaged.yml | Pins github-script to a SHA and ensures the workflow YAML is properly top-level aligned. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Why
N/A — automated security hardening (supply-chain security)
Summary
Pin all GitHub Actions
uses:references to exact commit SHAs. Reusable workflow calls and local./refs are left unchanged.Changes proposed in this pull request
.github/**/*.yml/.github/**/*.yaml— eachuses: action@tagreplaced withuses: action@<commit-sha> # tagTest Evidence
No logic changes. SHA values verified against GitHub API at time of generation.
Risk
Size: small diff (YAML comments only). Complexity: none. Type: CI config. Feature area: none. Requirements adherence: N/A. Test evidence clarity: N/A. Overall: no risk identified.