Commit 21e6ded
committed
ci: declare contents:read on the lint job
The lint job only runs eslint after checkout + setup-node. No GitHub
API write. The block sits on the job rather than at workflow scope
because the `test` job uses pkgjs/action's reusable node-test
workflow, and adding a caller-level permissions block would
intersect with the callee's grant.
Style matches the workflow-level permissions block in commitlint.yml
(contents:read) and release-please.yml (id-token:write + contents:read).
Signed-off-by: Arpit Jain <arpitjain099@gmail.com>1 parent 37cc6f0 commit 21e6ded
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments