Skip to content

Commit 1beff25

Browse files
authored
Merge pull request #2380 from ViewComponent/alert-autofix-7
Potential fix for code scanning alert no. 7: Workflow does not contain permissions
2 parents 33aec2e + 86b08fa commit 1beff25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Lint
22

33
on: [pull_request]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
trailing-whitespace:
710
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)