File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ on: [push]
5
5
env :
6
6
TEST_RESULTS_PATH : /tmp/test-results
7
7
8
+ permissions :
9
+ contents : read
10
+
8
11
jobs :
9
12
10
13
linux-tests :
19
22
id-token : write
20
23
contents : read
21
24
steps :
25
+ - name : Harden Runner
26
+ uses : step-security/harden-runner@v2
27
+ with :
28
+ egress-policy : audit
29
+
22
30
- name : Setup go
23
31
uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
24
32
with :
@@ -99,6 +107,11 @@ jobs:
99
107
id-token : write
100
108
contents : read
101
109
steps :
110
+ - name : Harden Runner
111
+ uses : step-security/harden-runner@v2
112
+ with :
113
+ egress-policy : audit
114
+
102
115
- name : Run git config # Windows-only
103
116
run : git config --global core.autocrlf false
104
117
Original file line number Diff line number Diff line change 15
15
release :
16
16
runs-on : ubuntu-latest
17
17
steps :
18
+ - name : Harden Runner
19
+ uses : step-security/harden-runner@v2
20
+ with :
21
+ egress-policy : audit
22
+
18
23
- name : Checkout code
19
24
uses : actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
20
25
with :
You can’t perform that action at this time.
0 commit comments