Merge pull request #734 from WordOps/alert-autofix-9
Potential fix for code scanning alert no. 9: Workflow does not contain permissions
This commit is contained in:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -14,6 +14,9 @@ on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
my_job:
|
||||
name: test WordOps
|
||||
|
||||
Reference in New Issue
Block a user