Skip to content

Commit 6785982

Browse files
Potential fix for code scanning alert no. 3: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Robert Baldyga <robert.baldyga@open-cas.com>
1 parent b2f5cbe commit 6785982

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
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ "master" ]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
build:
1114

0 commit comments

Comments
 (0)