Skip to content

Commit d52eb7c

Browse files
Merge pull request #2447 from step-security/update-actions
Update action versions
2 parents a21a27d + e2e8b07 commit d52eb7c

File tree

12 files changed

+26
-29
lines changed

12 files changed

+26
-29
lines changed

.github/workflows/automatePR.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
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

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/int.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/kb-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/kbanalysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/scorecards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/test.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@ on:
99

1010
permissions: # added using https://github.com/step-security/secure-repo
1111
contents: read
12-
concurrency:
13-
group: ${{ github.workflow }}
12+
1413
jobs:
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 }}

knowledge-base/actions/angular/dev-infra/github-actions/lock-closed/action-security.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

knowledge-base/actions/devbotsxyz/xcode-notarize/action-security.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

knowledge-base/actions/devbotsxyz/xcode-staple/action-security.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)