build: pin peter-evans/repository-dispatch to commit SHA#29554
Closed
XananasX7 wants to merge 1 commit into
Closed
build: pin peter-evans/repository-dispatch to commit SHA#29554XananasX7 wants to merge 1 commit into
XananasX7 wants to merge 1 commit into
Conversation
Pin `peter-evans/repository-dispatch` to full commit SHA instead of mutable `v4` tag. This workflow has access to `secrets.BAZEL_DOC_TRIGGER_TOKEN` (a fine-grained PAT with write access to bazel-contrib/bazel-docs). Pinning to SHA ensures immutability and prevents supply chain attacks via tag manipulation of the third-party action. Ref: https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
Contributor
Author
SummaryThis PR pins Why this mattersThe workflow using this action runs on Fix
This is a minimal, one-line change. Ready for review. |
Wyverald
approved these changes
May 20, 2026
kapunahelewong
pushed a commit
to kapunahelewong/bazel
that referenced
this pull request
May 27, 2026
…#29554) Pin `peter-evans/repository-dispatch` to full commit SHA instead of mutable `v4` tag. This workflow has access to `secrets.BAZEL_DOC_TRIGGER_TOKEN` (a fine-grained PAT with write access to bazel-contrib/bazel-docs). Pinning to SHA ensures immutability and prevents supply chain attacks via tag manipulation of the third-party action. Ref: https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions Closes bazelbuild#29554. PiperOrigin-RevId: 918468468 Change-Id: I3dc6a7f78d07b3584908c5f7e6d0e6d4747ce6c5
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
peter-evans/repository-dispatchto full commit SHA instead of mutablev4tag. This workflow has access tosecrets.BAZEL_DOC_TRIGGER_TOKEN(a fine-grained PAT with write access to bazel-contrib/bazel-docs).
Pinning to SHA ensures immutability and prevents supply chain attacks
via tag manipulation of the third-party action.
Ref: https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions