Skip to content

Commit 24c71a3

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: C/C++ CI
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ main ]

0 commit comments

Comments
 (0)