Skip to content

Commit 08d5e50

Browse files
rahuwalecopybara-github
authored andcommitted
ci: pin actions in credential-bearing release workflows
Merge #6172 Pin Action references in the credential-bearing release workflows to their currently resolved immutable commit SHAs. PiperOrigin-RevId: 950937818
1 parent ec42cfa commit 08d5e50

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/analyze-releases-for-adk-docs-updates.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ jobs:
4545

4646
steps:
4747
- name: Checkout repository
48-
uses: actions/checkout@v6
48+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
4949

5050
- name: Set up Python
51-
uses: actions/setup-python@v6
51+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
5252
with:
5353
python-version: '3.11'
5454

5555
- name: Load adk-bot SSH Private Key
56-
uses: webfactory/ssh-agent@v0.9.1
56+
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
5757
with:
5858
ssh-private-key: ${{ secrets.ADK_BOT_SSH_PRIVATE_KEY }}
5959

@@ -64,7 +64,7 @@ jobs:
6464
6565
- name: Restore session DB from cache
6666
if: ${{ github.event.inputs.resume == 'true' }}
67-
uses: actions/cache/restore@v4
67+
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
6868
with:
6969
path: contributing/samples/adk_team/adk_documentation/adk_release_analyzer/sessions.db
7070
key: analyzer-session-db-${{ github.run_id }}-${{ github.run_attempt }}
@@ -102,7 +102,7 @@ jobs:
102102
103103
- name: Save session DB to cache
104104
if: always()
105-
uses: actions/cache/save@v4
105+
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
106106
with:
107107
path: contributing/samples/adk_team/adk_documentation/adk_release_analyzer/sessions.db
108108
key: analyzer-session-db-${{ github.run_id }}-${{ github.run_attempt }}

.github/workflows/release-finalize.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
echo "manifest_file=.github/.release-please-manifest.json" >> $GITHUB_OUTPUT
6060
fi
6161
62-
- uses: actions/checkout@v6
62+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
6363
if: steps.check.outputs.is_release_pr == 'true'
6464
with:
6565
ref: ${{ github.event.pull_request.base.ref }}

.github/workflows/release-update-adk-web.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v6
39+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
4040
with:
4141
persist-credentials: false
4242

@@ -78,7 +78,7 @@ jobs:
7878
echo "email=$(echo "$USER_JSON" | jq -r '.id')+$(echo "$USER_JSON" | jq -r '.login')@users.noreply.github.com" >> $GITHUB_OUTPUT
7979
8080
- name: Create Pull Request
81-
uses: peter-evans/create-pull-request@v6
81+
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
8282
with:
8383
token: ${{ secrets.RELEASE_PAT }}
8484
commit-message: "Update compiled adk web files from ${{ github.event.inputs.adk_web_repo }}@${{ github.event.inputs.adk_web_tag || 'latest' }}"

0 commit comments

Comments
 (0)