Skip to content

Commit 0d61b8e

Browse files
Potential fix for code scanning alert no. 39: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent e80410a commit 0d61b8e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/frontend-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,17 @@ on:
2121
workflow_dispatch:
2222
# Allow manual trigger for testing
2323

24+
permissions:
25+
contents: read
26+
2427
jobs:
2528
test:
2629
name: Run JavaScript Tests
2730
runs-on: ubuntu-latest
31+
permissions:
32+
contents: read
33+
pull-requests: write
34+
issues: write
2835

2936
strategy:
3037
fail-fast: true

0 commit comments

Comments
 (0)