mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-12 13:07:21 +00:00
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:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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