mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-11 12:37:16 +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'
|
||||
permissions:
|
||||
contents: read
|
||||
on: # rebuild any PRs and main branch changes
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
|
||||
Reference in New Issue
Block a user