mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-11 04:32:47 +00:00
Potential fix for code scanning alert no. 7: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -1,3 +1,5 @@
|
||||
permissions:
|
||||
contents: read
|
||||
name: 'build-test'
|
||||
on: # rebuild any PRs and main branch changes
|
||||
workflow_dispatch:
|
||||
|
||||
Reference in New Issue
Block a user