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:
1717
1818 steps :
1919 - name : Harden Runner
20- uses : step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4 .1
20+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8 .1
2121 with :
2222 egress-policy : audit
2323
24- - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
24+ - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2525 with :
2626 repository : step-security/secure-repo
2727
Original file line number Diff line number Diff line change 1111 pull-requests : read
1212 steps :
1313 - name : Harden Runner
14- uses : step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
14+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
1515 with :
1616 disable-sudo : true
1717 egress-policy : block
Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ jobs:
4141
4242 steps :
4343 - name : Harden Runner
44- uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
44+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
4545 with :
4646 egress-policy : audit
4747
4848 - name : Checkout repository
49- uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
49+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
5050
5151 # Initializes the CodeQL tools for scanning.
5252 - name : Initialize CodeQL
Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - name : Harden Runner
18- uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
18+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
1919 with :
2020 egress-policy : audit
2121 - name : Checkout
22- uses : actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5
22+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2323 with :
2424 fetch-depth : 0
2525 - name : Set up Go
26- uses : actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8
26+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
2727 with :
2828 go-version : 1.17
2929 - name : Configure AWS Credentials
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ jobs:
2525 objects.githubusercontent.com:443
2626 golang.org:443
2727 - name : Checkout
28- uses : actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
28+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2929 with :
3030 ref : ${{ github.event.pull_request.head.sha }}
3131 - name : Set up Go
32- uses : actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
32+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
3333 with :
3434 go-version : 1.17
3535 - name : Run coverage
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ jobs:
2222
2323 steps :
2424 - name : Harden Runner
25- uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
25+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
2626 with :
2727 egress-policy : audit
2828
29- - uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
29+ - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
3030 with :
3131 repository : step-security/secure-repo
3232
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ jobs:
1717 runs-on : ubuntu-latest
1818 steps :
1919 - name : Harden Runner
20- uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
20+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
2121 with :
2222 egress-policy : audit
2323 - name : Checkout
24- uses : actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5
24+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2525 with :
2626 fetch-depth : 0
2727 - name : Set up Go
28- uses : actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8
28+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
2929 with :
3030 go-version : 1.17
3131
Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ jobs:
3232
3333 steps :
3434 - name : Harden Runner
35- uses : step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4 .1
35+ uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8 .1
3636 with :
3737 egress-policy : audit
3838
3939 - name : " Checkout code"
40- uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 .1.0
40+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 .1.6
4141 with :
4242 persist-credentials : false
4343
Original file line number Diff line number Diff line change 99
1010permissions : # added using https://github.com/step-security/secure-repo
1111 contents : read
12- concurrency :
13- group : ${{ github.workflow }}
12+
1413jobs :
1514 test :
1615 permissions :
1716 contents : read
1817 runs-on : ubuntu-latest
1918 steps :
20- - uses : step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5 # v1
19+ - uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
2120 with :
21+ egress-policy : audit
2222 allowed-endpoints : >
2323 api.github.com:443
24+ cli.codecov.io:443
2425 codecov.io:443
2526 uploader.codecov.io:443
2627 github.com:443
@@ -30,15 +31,17 @@ jobs:
3031 objects.githubusercontent.com:443
3132 golang.org:443
3233 - name : Checkout
33- uses : actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
34+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
3435 with :
3536 ref : ${{ github.event.pull_request.head.sha }}
3637 - name : Set up Go
37- uses : actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
38+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
3839 with :
3940 go-version : 1.17
4041 - name : Run coverage
4142 run : go test ./... -coverpkg=./... -race -coverprofile=coverage.txt -covermode=atomic
4243 env :
4344 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.
You can’t perform that action at this time.
0 commit comments