Skip to content

Commit 43ae7db

Browse files
committed
ci: restrict GITHUB_TOKEN to contents: read
The CI workflow had no permissions block, so every job inherited the repository default token scope. No job uses GITHUB_TOKEN, and the action uploads with CODSPEED_TOKEN.
1 parent aba0f7a commit 43ae7db

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- "**.md"
1212
workflow_dispatch:
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
1518
test-action:
1619
strategy:

0 commit comments

Comments
 (0)