mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-09-17 15:00:46 +08:00
release: SHA-pin actions/checkout in the deploy-key jobs
The checkout steps now hold the ruleset-bypass deploy key, so resolve actions/checkout by full SHA (v6.0.2, same pin as sync-base-action.yml) rather than the mutable v6 tag.
This commit is contained in:
@@ -32,7 +32,9 @@ jobs:
|
||||
next_version: ${{ steps.next_version.outputs.next_version }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
# SHA-pinned (same pin as sync-base-action.yml): this step is handed
|
||||
# the ruleset-bypass deploy key, so it must not resolve a mutable tag.
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Tag pushes below authenticate as the release deploy key (a
|
||||
@@ -110,7 +112,9 @@ jobs:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
# SHA-pinned (same pin as sync-base-action.yml): this step is handed
|
||||
# the ruleset-bypass deploy key, so it must not resolve a mutable tag.
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Tag pushes below authenticate as the release deploy key (a
|
||||
|
||||
Reference in New Issue
Block a user