Skip to content

Commit 23581c6

Browse files
authored
Upgrade actions from master to v4 (#8400)
The `actions/checkout` was being pulled from @master which is still at v2, since their default branch has changed from master to main in 2020. We should change the tag to pull from v4 instead.
1 parent 6c3acf5 commit 23581c6

22 files changed

+24
-24
lines changed

.github/workflows/canary-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Checkout Repo
30-
uses: actions/checkout@master
30+
uses: actions/checkout@v4
3131
with:
3232
# Canary release script requires git history and tags.
3333
fetch-depth: 0

.github/workflows/check-changeset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout Repo
33-
uses: actions/checkout@master
33+
uses: actions/checkout@v4
3434
with:
3535
# This makes Actions fetch all Git history so check_changeset script can diff properly.
3636
fetch-depth: 0

.github/workflows/check-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout Repo
26-
uses: actions/checkout@master
26+
uses: actions/checkout@v4
2727
with:
2828
# get all history for the diff
2929
fetch-depth: 0

.github/workflows/check-pkg-paths.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout Repo
26-
uses: actions/checkout@master
26+
uses: actions/checkout@v4
2727
with:
2828
# This makes Actions fetch all Git history so run-changed script can diff properly.
2929
fetch-depth: 0

.github/workflows/deploy-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Checkout Repo
34-
uses: actions/checkout@master
34+
uses: actions/checkout@v4
3535
with:
3636
# This makes Actions fetch all Git history so run-changed script can diff properly.
3737
fetch-depth: 0

.github/workflows/e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout Repo
38-
uses: actions/checkout@master
38+
uses: actions/checkout@v4
3939
- name: Set up Node (20)
4040
uses: actions/setup-node@master
4141
with:

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Checkout Repo
30-
uses: actions/checkout@master
30+
uses: actions/checkout@v4
3131
with:
3232
# get all history for the diff
3333
fetch-depth: 0

.github/workflows/merge-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
contents: write
2525
steps:
2626
- name: Checkout Release Branch
27-
uses: actions/checkout@master
27+
uses: actions/checkout@v4
2828
with:
2929
ref: release
3030
- name: Get release version

.github/workflows/prerelease-manual-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout Repo
33-
uses: actions/checkout@master
33+
uses: actions/checkout@v4
3434
with:
3535
# Canary release script requires git history and tags.
3636
fetch-depth: 0

.github/workflows/release-log.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout Repo
29-
uses: actions/checkout@master
29+
uses: actions/checkout@v4
3030

3131
- name: Setup Node.js 20.x
3232
uses: actions/setup-node@master

0 commit comments

Comments
 (0)