File tree Expand file tree Collapse file tree 5 files changed +44
-7
lines changed
Expand file tree Collapse file tree 5 files changed +44
-7
lines changed Original file line number Diff line number Diff line change 77 branches : [ "master" ]
88 schedule :
99 - cron : ' 31 7 * * 3'
10+ permissions :
11+ contents : read
1012
1113jobs :
1214 analyze :
@@ -23,19 +25,24 @@ jobs:
2325 language : [ 'go' ]
2426
2527 steps :
28+ - name : Harden the runner (Audit all outbound calls)
29+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
30+ with :
31+ egress-policy : audit
32+
2633 - name : Checkout repository
2734 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2835
29- - name : Initialize CodeQL
30- uses : github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
31- with :
32- languages : ${{ matrix.language }}
33-
3436 - name : Setup Go
3537 uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
3638 with :
3739 go-version-file : ' go.mod'
3840
41+ - name : Initialize CodeQL
42+ uses : github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
43+ with :
44+ languages : ${{ matrix.language }}
45+
3946 - name : Build
4047 run : make build
4148
Original file line number Diff line number Diff line change 2323 outputs :
2424 version : ${{ steps.validate.outputs.version }}
2525 steps :
26+ - name : Harden the runner (Audit all outbound calls)
27+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
28+ with :
29+ egress-policy : audit
30+
2631 - name : Checkout
2732 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2833 with :
5560 permissions :
5661 contents : read
5762 steps :
63+ - name : Harden the runner (Audit all outbound calls)
64+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
65+ with :
66+ egress-policy : audit
67+
5868 - name : Checkout
5969 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6070
8191 outputs :
8292 hashes : ${{ steps.hash.outputs.hashes }}
8393 steps :
94+ - name : Harden the runner (Audit all outbound calls)
95+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
96+ with :
97+ egress-policy : audit
98+
8499 - name : Checkout
85100 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
86101 with :
Original file line number Diff line number Diff line change 1919 outputs :
2020 hashes : ${{ steps.hash.outputs.hashes }}
2121 steps :
22+ - name : Harden the runner (Audit all outbound calls)
23+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
24+ with :
25+ egress-policy : audit
26+
2227 - name : Checkout
2328 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2429 with :
Original file line number Diff line number Diff line change 3333 # actions: read
3434
3535 steps :
36+ - name : Harden the runner (Audit all outbound calls)
37+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
38+ with :
39+ egress-policy : audit
40+
3641 - name : " Checkout code"
3742 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3843 with :
7580 - name : " Upload to code-scanning"
7681 uses : github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
7782 with :
78- sarif_file : results.sarif
83+ sarif_file : results.sarif
Original file line number Diff line number Diff line change 1414 matrix :
1515 go-version : ['1.24.3']
1616 steps :
17+ - name : Harden the runner (Audit all outbound calls)
18+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
19+ with :
20+ egress-policy : audit
21+
1722 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1823
1924 - name : Set up Go
4651 uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
4752 with :
4853 name : coverage-${{ matrix.go-version }}
49- path : coverage.html
54+ path : coverage.html
You can’t perform that action at this time.
0 commit comments