Skip to content

Commit a1637d9

Browse files
Potential fix for pull request finding 'CodeQL / Workflow does not contain permissions'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 294fae1 commit a1637d9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pr-tests-macos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [ main ]
66
workflow_dispatch:
77

8+
permissions:
9+
contents: read
10+
811
concurrency:
912
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1013
cancel-in-progress: true

0 commit comments

Comments
 (0)