Skip to content

Commit d5ce2d2

Browse files
wochingeclaude
andauthored
chore(ci): pin action version comments to immutable patch tags (#1636)
Tightens `# v6`/`# v3` floating-major comments on SHA-pinned actions to their exact patch-level tags (`v6.0.2`, `v6.2.0`, `v3.0.1`). Same SHAs, no behavior change — just removes ambiguity about which release the pin corresponds to, and keeps the version comment truthful if the upstream major ever moves. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 560eca9 commit d5ce2d2

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
linting:
2121
runs-on: blacksmith-2vcpu-ubuntu-2404
2222
steps:
23-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
23+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
persist-credentials: false
2626
- name: Install uv and set Python version
@@ -37,7 +37,7 @@ jobs:
3737
type-checking:
3838
runs-on: blacksmith-2vcpu-ubuntu-2404
3939
steps:
40-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
40+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4141
with:
4242
persist-credentials: false
4343
- name: Install uv and set Python version
@@ -78,7 +78,7 @@ jobs:
7878

7979
name: Unit tests on Python ${{ matrix.python-version }}
8080
steps:
81-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
81+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8282
with:
8383
persist-credentials: false
8484
- name: Install uv and set Python version
@@ -141,7 +141,7 @@ jobs:
141141

142142
name: ${{ matrix.job_name }}
143143
steps:
144-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
144+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
145145
with:
146146
persist-credentials: false
147147
- name: Install uv and set Python version

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
5656
steps:
5757
- name: Checkout repository
58-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
58+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5959
with:
6060
persist-credentials: false
6161

.github/workflows/package-availability-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
20+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install dependencies using pip

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
INPUTS_CONFIRM_MAJOR: ${{ inputs.confirm_major }}
6565

6666
- name: Checkout repository
67-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
67+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6868
with:
6969
fetch-depth: 0
7070
token: ${{ secrets.GH_ACCESS_TOKEN }}
@@ -321,7 +321,7 @@ jobs:
321321

322322
- name: Notify Slack on success
323323
if: success()
324-
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3
324+
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
325325
with:
326326
webhook: ${{ secrets.SLACK_WEBHOOK_RELEASES }}
327327
webhook-type: incoming-webhook
@@ -405,7 +405,7 @@ jobs:
405405
406406
- name: Notify Slack on failure
407407
if: failure()
408-
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3
408+
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
409409
with:
410410
webhook: ${{ secrets.SLACK_WEBHOOK_ENGINEERING }}
411411
webhook-type: incoming-webhook

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
contents: read
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
25+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2626
with:
2727
persist-credentials: false
2828
- name: Run zizmor

0 commit comments

Comments
 (0)