Commit 788bb22
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 ca75cea commit 788bb22
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