Skip to content

Commit cad6b39

Browse files
vanceingallsclaude
andcommitted
ci(canary): pin actions and scope the sunset workflow token
CodeQL flagged both on the new workflow: an unscoped GITHUB_TOKEN and an unpinned third-party action. Matches the pins ci.yml already uses. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 6f0df26 commit cad6b39

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/canary-sunset.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# the guard.
88
name: Canary sunset
99

10+
permissions:
11+
contents: read
12+
1013
on:
1114
schedule:
1215
# Mondays at 15:10 UTC, shortly after the CodeQL run.
@@ -17,8 +20,8 @@ jobs:
1720
sunset:
1821
runs-on: ubuntu-latest
1922
steps:
20-
- uses: actions/checkout@v4
21-
- uses: oven-sh/setup-bun@v2
23+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
2225
with:
2326
bun-version: latest
2427
# No install/build: the script imports the registry source directly and

0 commit comments

Comments
 (0)