Merge pull request #463 from taylorwilsdon/alert-autofix-51
Potential fix for code scanning alert no. 51: Workflow does not contain permissions
This commit is contained in:
3
.github/workflows/ruff.yml
vendored
3
.github/workflows/ruff.yml
vendored
@@ -6,6 +6,9 @@ on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
ruff:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user