File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,18 @@ jobs:
19
19
20
20
runs-on : ubuntu-latest
21
21
22
+ permissions :
23
+ contents : read
24
+ security_events : write
25
+ pull_requests : read
26
+
22
27
steps :
23
28
- name : Checkout repository
24
29
uses : actions/checkout@v2
25
30
26
31
# Initializes the CodeQL tools for scanning.
27
32
- name : Initialize CodeQL
28
- uses : github/codeql-action/init@v1
33
+ uses : github/codeql-action/init@main
29
34
# Override language selection by uncommenting this and choosing your languages
30
35
with :
31
36
languages : csharp
34
39
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
35
40
# If this step fails, then you should remove it and run the build manually (see below)
36
41
- name : Autobuild
37
- uses : github/codeql-action/autobuild@v1
42
+ uses : github/codeql-action/autobuild@main
38
43
39
44
# ℹ️ Command-line programs to run using the OS shell.
40
45
# 📚 https://git.io/JvXDl
48
53
# make release
49
54
50
55
- name : Perform CodeQL Analysis
51
- uses : github/codeql-action/analyze@v1
56
+ uses : github/codeql-action/analyze@main
You can’t perform that action at this time.
0 commit comments