Skip to content

Commit 5f691c3

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build and test
22
on: [push, pull_request]
3+
permissions:
4+
contents: read
5+
actions: write
36

47
jobs:
58
build-and-test:

0 commit comments

Comments
 (0)