Merge pull request #717 from actions/alert-autofix-7
Potential fix for code scanning alert no. 7: Workflow does not contain permissions
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
name: 'build-test'
|
name: 'build-test'
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
on: # rebuild any PRs and main branch changes
|
on: # rebuild any PRs and main branch changes
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|||||||
Reference in New Issue
Block a user