Skip to content

Commit 04da5a5

Browse files
pkaedingkinyoklion
andauthored
chore: pin third-party GitHub Actions to commit SHAs (#382)
## 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: this only pins `googleapis/release-please-action` to a specific commit SHA in the release workflow, reducing supply-chain exposure without changing job logic. > > **Overview** > **Pins the `Release Please` workflow dependency for security.** > > Updates `.github/workflows/release-please.yml` to use `googleapis/release-please-action` via a full commit SHA (`v4.4.0`) instead of the floating `@v4` tag. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit ad1e41e. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Ryan Lamb <4955475+kinyoklion@users.noreply.github.com>
1 parent 4949b27 commit 04da5a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
outputs:
2626
release_created: ${{ steps.release.outputs.release_created }}
2727
steps:
28-
- uses: googleapis/release-please-action@v4
28+
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
2929
id: release
3030
with:
3131
token: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)