Skip to content

Commit 2c498c2

Browse files
authored
Merge pull request #22 from advanced-security/alert-autofix-556
Potential fix for code scanning alert no. 556: Workflow does not contain permissions
2 parents 7ad9431 + 67504e3 commit 2c498c2

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
@@ -18,6 +18,8 @@ jobs:
1818
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
1919
os: [ubuntu-latest, macos-latest] # doesn't yet work on Windows
2020
fail-fast: false
21+
permissions:
22+
security-events: write
2123

2224
steps:
2325
- name: Checkout repo

0 commit comments

Comments
 (0)