Skip to content

Commit 9de79cd

Browse files
committed
style(workflows): stamp uses: comments with (YYYY-MM-DD)
Backfill the new canonical `# <tag-or-branch> (YYYY-MM-DD)` staleness comment format on every existing SHA-pinned `uses:` line. The date stamp is enforced by the new workflow-uses-comment-guard hook (socket-wheelhouse template); without this pass every subsequent workflow edit would have to fix surrounding stamps too. Conservative rewrite: only touches lines whose existing `# <label>` comment lacks a parenthesized date. Lines with no comment at all are left for the hook to surface on next edit. Today is the stamp date — these are pin SHAs as of 2026-05-15.
1 parent 654914d commit 9de79cd

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
node: ${{ steps.versions.outputs.node }}
4747
steps:
4848
- name: Checkout repository
49-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
49+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
5050
with:
5151
persist-credentials: false
5252

@@ -68,7 +68,7 @@ jobs:
6868
contents: read
6969
steps:
7070
- name: Checkout repository
71-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
71+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
7272
with:
7373
persist-credentials: false
7474

@@ -109,7 +109,7 @@ jobs:
109109
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
110110
CODE
111111
112-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main
112+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
113113
with:
114114
checkout: 'false'
115115

@@ -127,7 +127,7 @@ jobs:
127127
contents: read
128128
steps:
129129
- name: Checkout repository
130-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
130+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
131131
with:
132132
persist-credentials: false
133133

@@ -168,7 +168,7 @@ jobs:
168168
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
169169
CODE
170170
171-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main
171+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
172172
with:
173173
checkout: 'false'
174174

@@ -193,7 +193,7 @@ jobs:
193193
shard: [1, 2, 3]
194194
steps:
195195
- name: Checkout repository
196-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
196+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
197197
with:
198198
persist-credentials: false
199199

@@ -234,7 +234,7 @@ jobs:
234234
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
235235
CODE
236236
237-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main
237+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
238238
with:
239239
checkout: 'false'
240240
node-version: ${{ matrix.node-version }}
@@ -276,7 +276,7 @@ jobs:
276276
shard: [1, 2]
277277
steps:
278278
- name: Checkout repository
279-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
279+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
280280
with:
281281
persist-credentials: false
282282

@@ -317,7 +317,7 @@ jobs:
317317
export default { text, view, renderToString, renderToStringWithWidth, printComponent, eprintComponent, getTerminalSize, TuiRenderer, init }
318318
CODE
319319
320-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main
320+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
321321
with:
322322
checkout: 'false'
323323
node-version: ${{ matrix.node-version }}

.github/workflows/provenance.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
matrix: ${{ steps.matrix.outputs.matrix }}
4444

4545
steps:
46-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
4747
with:
4848
persist-credentials: false
4949

50-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main
50+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
5151
with:
5252
checkout: 'false'
5353

@@ -83,11 +83,11 @@ jobs:
8383
matrix: ${{ fromJson(needs.build-cli.outputs.matrix) }}
8484

8585
steps:
86-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
86+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
8787
with:
8888
persist-credentials: false
8989

90-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main
90+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
9191
with:
9292
checkout: 'false'
9393
registry-url: 'https://registry.npmjs.org'
@@ -133,11 +133,11 @@ jobs:
133133
id-token: write # NPM trusted publishing via OIDC
134134

135135
steps:
136-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
136+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
137137
with:
138138
persist-credentials: false
139139

140-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main
140+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
141141
with:
142142
checkout: 'false'
143143
registry-url: 'https://registry.npmjs.org'

.github/workflows/weekly-update.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
has-updates: ${{ steps.check.outputs.has-updates }}
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
2929
with:
3030
persist-credentials: false
3131

32-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main
32+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
3333
with:
3434
checkout: 'false'
3535

@@ -57,12 +57,12 @@ jobs:
5757
pull-requests: write # Create PR
5858
steps:
5959
- name: Checkout repository
60-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
60+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)
6161
with:
6262
fetch-depth: 0
6363
persist-credentials: false
6464

65-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main
65+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
6666
with:
6767
checkout: 'false'
6868

@@ -79,7 +79,7 @@ jobs:
7979
git checkout -b "$BRANCH_NAME" HEAD~1
8080
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
8181
82-
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@75964f14e0682ae4aa846119e2fc9a710d970056 # main
82+
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
8383
with:
8484
gpg-private-key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
8585

@@ -332,7 +332,7 @@ jobs:
332332
test.log
333333
retention-days: 7
334334

335-
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@75964f14e0682ae4aa846119e2fc9a710d970056 # main
335+
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@75964f14e0682ae4aa846119e2fc9a710d970056 # main (2026-05-15)
336336
if: always()
337337

338338
notify:

0 commit comments

Comments
 (0)