Conversation
action.yml
Outdated
| steps: | ||
| - name: Checkout PR Head | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0 |
Contributor
There was a problem hiding this comment.
Consider adding persist-credentials: false to the checkout step to avoid writing the token to the local git config. This follows least-privilege best practices and is recommended when the workflow doesn’t need to push back to the repo.
justinxu421
approved these changes
Sep 7, 2025
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.
Update actions/checkout pin to v4.0.0
This PR downgrades the GitHub Actions
actions/checkoutused by our composite action to v4.0.0 (commit SHA pin) to address compatibility and policy alignment concerns.Key changes
actions/checkoutfrom v4.2.2 to v4.0.0, pinned by commit (1e31de5…) for supply‑chain safetyContext
Risk and impact
11bd719…, v4.2.2) if needed🤖 This description was generated automatically. Please react with 👍 if it's helpful or 👎 if it needs improvement.