File tree 2 files changed +48
-0
lines changed
2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : CodeQL Analysis
3
+
4
+ on :
5
+ push :
6
+ branches : [main]
7
+ pull_request :
8
+ # The branches below must be a subset of the branches above
9
+ branches : [main]
10
+ schedule :
11
+ - cron : 0 0 * * 0
12
+
13
+ jobs :
14
+ analyze :
15
+ name : Analyze
16
+ runs-on : ubuntu-latest
17
+ permissions :
18
+ actions : read
19
+ contents : read
20
+ security-events : write
21
+
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ language : [go]
26
+
27
+ steps :
28
+ - name : Harden Runner
29
+ uses : step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
30
+ with :
31
+ egress-policy : audit
32
+
33
+ - name : Checkout Repository
34
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
35
+
36
+ - name : Initialize CodeQL
37
+ uses : github/codeql-action/init@v2
38
+ with :
39
+ languages : ${{ matrix.language }}
40
+
41
+ - name : Autobuild
42
+ uses : github/codeql-action/autobuild@v2
43
+
44
+ - name : Perform CodeQL Analysis
45
+ uses : github/codeql-action/analyze@v2
46
+ with :
47
+ category : /language:${{matrix.language}}
Original file line number Diff line number Diff line change 8
8
#
9
9
# Source repository: https://github.com/actions/dependency-review-action
10
10
name : Dependency Review
11
+
11
12
on : [pull_request]
12
13
13
14
permissions :
You can’t perform that action at this time.
0 commit comments