ci: pin actions in credential-bearing release workflows#6172
ci: pin actions in credential-bearing release workflows#6172Rahuwale123 wants to merge 1 commit into
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Response from ADK Triaging Agent Hello @Rahuwale123, thank you for creating this PR! It looks like your Contributor License Agreement (CLA) check is currently failing. Please visit https://cla.developers.google.com/ to sign the agreement so that we can proceed with reviewing your contribution. This information will help us move forward with your PR. Thanks! |
|
Hi @Rahuwale123 , Thank you for your contribution! It appears you haven't yet signed the Contributor License Agreement (CLA). Please visit https://cla.developers.google.com/ to complete the signing process. Once the CLA is signed, we'll be able to proceed with the review of your PR. Thank you! |
Link to Issue or Description of Change
No existing issue.
Problem:
Several release and release-adjacent workflows that receive publishing tokens,
repository PATs, cloud/API credentials, or an SSH key reference GitHub Actions
through mutable version tags. A moved or compromised tag could change the code
executed by those credential-bearing jobs without a corresponding change in
this repository.
Solution:
Pin all 19 Action references in the eight credential-bearing release workflows
to their currently resolved immutable commit SHAs. Version-tag comments remain
beside each SHA for readability and maintainability.
The scope is intentionally limited to these credential-bearing release
workflows. The approximately 31 other unpinned Action references reported
elsewhere in the repository are outside this focused PR. No workflow behavior,
trigger, permission, application code, or release logic changes.
Testing Plan
Automated validation:
git diff --checkpassed.expected
action.yml(restore/action.ymlandsave/action.ymlfor thecache sub-actions).
unpinned-usesfindings.unpinned-usesfindings.Unit Tests:
corresponding immutable SHAs and does not modify runtime code.
Manual End-to-End (E2E) Tests:
release-adjacent operations. The referenced Action definitions and workflow
syntax were validated without triggering a release.
Checklist
Additional context
This PR deliberately avoids bundling a repository-wide Zizmor policy or
unrelated workflow hardening so the change remains small and reviewable.