File tree Expand file tree Collapse file tree 12 files changed +26
-29
lines changed
angular/dev-infra/github-actions/lock-closed Expand file tree Collapse file tree 12 files changed +26
-29
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
18
18
steps :
19
19
- name : Harden Runner
20
- uses : step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4 .1
20
+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8 .1
21
21
with :
22
22
egress-policy : audit
23
23
24
- - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
24
+ - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
25
25
with :
26
26
repository : step-security/secure-repo
27
27
Original file line number Diff line number Diff line change 11
11
pull-requests : read
12
12
steps :
13
13
- name : Harden Runner
14
- uses : step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
14
+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
15
15
with :
16
16
disable-sudo : true
17
17
egress-policy : block
Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ jobs:
41
41
42
42
steps :
43
43
- name : Harden Runner
44
- uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
44
+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
45
45
with :
46
46
egress-policy : audit
47
47
48
48
- name : Checkout repository
49
- uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
49
+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
50
50
51
51
# Initializes the CodeQL tools for scanning.
52
52
- name : Initialize CodeQL
Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- name : Harden Runner
18
- uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
18
+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
19
19
with :
20
20
egress-policy : audit
21
21
- name : Checkout
22
- uses : actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5
22
+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
23
23
with :
24
24
fetch-depth : 0
25
25
- name : Set up Go
26
- uses : actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8
26
+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
27
27
with :
28
28
go-version : 1.17
29
29
- name : Configure AWS Credentials
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ jobs:
25
25
objects.githubusercontent.com:443
26
26
golang.org:443
27
27
- name : Checkout
28
- uses : actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
28
+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
29
29
with :
30
30
ref : ${{ github.event.pull_request.head.sha }}
31
31
- name : Set up Go
32
- uses : actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
32
+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
33
33
with :
34
34
go-version : 1.17
35
35
- name : Run coverage
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ jobs:
22
22
23
23
steps :
24
24
- name : Harden Runner
25
- uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
25
+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
26
26
with :
27
27
egress-policy : audit
28
28
29
- - uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
29
+ - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
30
30
with :
31
31
repository : step-security/secure-repo
32
32
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ jobs:
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- name : Harden Runner
20
- uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
20
+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
21
21
with :
22
22
egress-policy : audit
23
23
- name : Checkout
24
- uses : actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5
24
+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
25
25
with :
26
26
fetch-depth : 0
27
27
- name : Set up Go
28
- uses : actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8
28
+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
29
29
with :
30
30
go-version : 1.17
31
31
Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ jobs:
32
32
33
33
steps :
34
34
- name : Harden Runner
35
- uses : step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4 .1
35
+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8 .1
36
36
with :
37
37
egress-policy : audit
38
38
39
39
- name : " Checkout code"
40
- uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 .1.0
40
+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 .1.6
41
41
with :
42
42
persist-credentials : false
43
43
Original file line number Diff line number Diff line change 9
9
10
10
permissions : # added using https://github.com/step-security/secure-repo
11
11
contents : read
12
- concurrency :
13
- group : ${{ github.workflow }}
12
+
14
13
jobs :
15
14
test :
16
15
permissions :
17
16
contents : read
18
17
runs-on : ubuntu-latest
19
18
steps :
20
- - uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5 # v1
19
+ - uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
21
20
with :
21
+ egress-policy : audit
22
22
allowed-endpoints : >
23
23
api.github.com:443
24
+ cli.codecov.io:443
24
25
codecov.io:443
25
26
uploader.codecov.io:443
26
27
github.com:443
@@ -30,15 +31,17 @@ jobs:
30
31
objects.githubusercontent.com:443
31
32
golang.org:443
32
33
- name : Checkout
33
- uses : actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
34
+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
34
35
with :
35
36
ref : ${{ github.event.pull_request.head.sha }}
36
37
- name : Set up Go
37
- uses : actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
38
+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
38
39
with :
39
40
go-version : 1.17
40
41
- name : Run coverage
41
42
run : go test ./... -coverpkg=./... -race -coverprofile=coverage.txt -covermode=atomic
42
43
env :
43
44
PAT : ${{ secrets.GITHUB_TOKEN }}
44
- - uses : codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2
45
+ - uses : codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
46
+ with :
47
+ token : ${{ secrets.CODECOV_TOKEN }}
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments