chore: Pin release-please-action to full commit SHA#33
Merged
Conversation
Pin the googleapis/release-please-action to a full commit SHA for improved supply chain security. ## Changes - Updated `googleapis/release-please-action@v4` to use full commit SHA `7987652d64b4f86e094c6b42e1f2e99a6e019e3a` (v4.1.3) - Added version comment for maintainability ## Why Pinning GitHub Actions to a full commit SHA is a security best practice. Version tags like `v4` are mutable and can be updated by the repository owner at any time. By pinning to a specific commit SHA, we ensure the action code cannot change unexpectedly, mitigating the risk of supply chain attacks where a bad actor could inject malicious code into a tagged release. ## Semgrep Finding Details An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. @pkaeding@launchdarkly.com requested Semgrep Assistant generate this pull request to fix [a finding](https://semgrep.dev/orgs/launchdarkly/findings/726909399).
pkaeding
approved these changes
Mar 20, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
keelerm84
reviewed
Mar 23, 2026
keelerm84
approved these changes
Mar 23, 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 the googleapis/release-please-action to a full commit SHA for improved supply chain security.
Changes
googleapis/release-please-action@v4to use full commit SHA7987652d64b4f86e094c6b42e1f2e99a6e019e3a(v4.1.3)Why
Pinning GitHub Actions to a full commit SHA is a security best practice. Version tags like
v4are mutable and can be updated by the repository owner at any time. By pinning to a specific commit SHA, we ensure the action code cannot change unexpectedly, mitigating the risk of supply chain attacks where a bad actor could inject malicious code into a tagged release.Semgrep Finding Details
An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.
@pkaeding@launchdarkly.com requested Semgrep Assistant generate this pull request to fix a finding.
Note
Low Risk
Low risk: this only changes the GitHub Actions workflow dependency reference, reducing supply-chain risk without altering application/runtime logic.
Overview
Updates the
release-pleaseGitHub Actions workflow to use a fully pinnedgoogleapis/release-please-actioncommit SHA (annotated as v4.4.0) rather than the floatingv4tag, improving supply-chain immutability.Written by Cursor Bugbot for commit c3e7e74. This will update automatically on new commits. Configure here.