Skip to content

Commit 0a3d19c

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 3f8f906 commit 0a3d19c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/test-and-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- main
1212
- develop
1313

14+
permissions:
15+
contents: read
16+
actions: read
17+
1418
jobs:
1519
# Job 1: Analyze code and run tests
1620
test:

0 commit comments

Comments
 (0)