Skip to content

Commit 853c26d

Browse files
authored
chore: pin third-party GitHub Actions to commit SHAs (#511)
## Summary Pin all third-party GitHub Actions to full-length commit SHAs to prevent supply chain attacks. Addresses findings from the [`third-party-action-not-pinned-to-commit-sha`](https://github.com/launchdarkly/semgrep-rules/blob/main/github-actions/third-party-action-not-pinned-to-commit-sha.yml) Semgrep rule. ## Test plan - [ ] Verify CI passes with pinned action SHAs <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: CI-only change that pins an existing third-party action to a specific commit for supply-chain hardening, without altering inputs or behavior beyond the referenced revision. > > **Overview** > Pins the Linux `MarkusJx/install-boost` step in `.github/actions/install-boost/action.yml` from the `v2.4.4` tag to its full commit SHA, improving supply-chain security while keeping the same action version. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 56d9a44. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
2 parents 1ad9225 + 56d9a44 commit 853c26d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/install-boost/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runs:
2222
steps:
2323
- name: Install boost using action
2424
if: runner.os == 'Linux'
25-
uses: MarkusJx/install-boost@v2.4.4
25+
uses: MarkusJx/install-boost@3039450bb3dd2e8630d1cf10ec39cb1da3054bbd # v2.4.4
2626
id: boost-action
2727
with:
2828
boost_version: 1.81.0

0 commit comments

Comments
 (0)