Skip to content

Commit 137b77d

Browse files
committed
build: harden lint.yml permissions
Signed-off-by: Alex <[email protected]>
1 parent 4cf30b7 commit 137b77d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: lint
22
on: [push, pull_request]
3+
permissions:
4+
contents: read # to fetch code (actions/checkout)
35
jobs:
46
tox-lint:
57
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)