Skip to content

Commit 2d24025

Browse files
authored
Merge pull request #2 from Skyfall1235/alert-autofix-1
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
2 parents 76bb2dc + 77b0303 commit 2d24025

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/CodeQL_PR_Analysis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: "CodeQL PR Analysis"
2+
permissions:
3+
contents: read
4+
security-events: write
25

36
on:
47
pull_request:
@@ -49,4 +52,4 @@ jobs:
4952
run: dotnet build src/RandomAPI/RandomAPI.csproj
5053

5154
- name: Perform CodeQL Analysis
52-
uses: github/codeql-action/analyze@v3
55+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)