ci: pin actions in credential-bearing release workflows

Merge https://github.com/google/adk-python/pull/6172

Pin Action references in the credential-bearing release workflows
to their currently resolved immutable commit SHAs.

PiperOrigin-RevId: 950937818
This commit is contained in:
rahul wale
2026-07-20 10:58:59 -07:00
committed by Copybara-Service
parent ec42cfa237
commit 08d5e50866
3 changed files with 8 additions and 8 deletions
@@ -45,15 +45,15 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: '3.11'
- name: Load adk-bot SSH Private Key
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
ssh-private-key: ${{ secrets.ADK_BOT_SSH_PRIVATE_KEY }}
@@ -64,7 +64,7 @@ jobs:
- name: Restore session DB from cache
if: ${{ github.event.inputs.resume == 'true' }}
uses: actions/cache/restore@v4
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: contributing/samples/adk_team/adk_documentation/adk_release_analyzer/sessions.db
key: analyzer-session-db-${{ github.run_id }}-${{ github.run_attempt }}
@@ -102,7 +102,7 @@ jobs:
- name: Save session DB to cache
if: always()
uses: actions/cache/save@v4
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: contributing/samples/adk_team/adk_documentation/adk_release_analyzer/sessions.db
key: analyzer-session-db-${{ github.run_id }}-${{ github.run_attempt }}
+1 -1
View File
@@ -59,7 +59,7 @@ jobs:
echo "manifest_file=.github/.release-please-manifest.json" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
if: steps.check.outputs.is_release_pr == 'true'
with:
ref: ${{ github.event.pull_request.base.ref }}
@@ -36,7 +36,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
@@ -78,7 +78,7 @@ jobs:
echo "email=$(echo "$USER_JSON" | jq -r '.id')+$(echo "$USER_JSON" | jq -r '.login')@users.noreply.github.com" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
with:
token: ${{ secrets.RELEASE_PAT }}
commit-message: "Update compiled adk web files from ${{ github.event.inputs.adk_web_repo }}@${{ github.event.inputs.adk_web_tag || 'latest' }}"