Repository navigation
Commit 50a9bc6
committed
fix(ci): add explicit permissions to lint.yml
CodeQL flagged lint.yml (actions/missing-workflow-permissions): no
permissions block anywhere in the file, so it runs with whatever the
repo's default token permissions are rather than what it actually
needs. It only checks out and reads the repo -- contents: read covers
everything the job does.
Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>1 parent 50323bd commit 50a9bc6
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
0 commit comments