Skip to content

Commit 6ece46d

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
clang:
2020
name: Clang-Format Check
2121
runs-on: ubuntu-latest
22+
permissions:
23+
contents: read
2224
strategy:
2325
matrix:
2426
path:

0 commit comments

Comments
 (0)