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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

.github/workflows/release-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
if: ${{ !startsWith(github.event.head_commit.message, 'Version Packages (#') }}
2828
steps:
2929
- name: Checkout Repo
30-
uses: actions/checkout@master
30+
uses: actions/checkout@v4
3131
with:
3232
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
3333
fetch-depth: 0

.github/workflows/release-prod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
node-version: 20.x
3939
- name: Checkout release branch (with history)
40-
uses: actions/checkout@master
40+
uses: actions/checkout@v4
4141
with:
4242
# Release script requires git history and tags.
4343
fetch-depth: 0

.github/workflows/release-staging.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
})
6464
console.log(result)
6565
- name: Checkout current branch (with history)
66-
uses: actions/checkout@master
66+
uses: actions/checkout@v4
6767
with:
6868
# Release script requires git history and tags.
6969
fetch-depth: 0

.github/workflows/release-tweet.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Checkout Repo
36-
uses: actions/checkout@master
36+
uses: actions/checkout@v4
3737
- name: Setup Node.js 20.x
3838
uses: actions/setup-node@master
3939
with:

.github/workflows/test-changed-auth.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
echo $CHROME_VERSION_NOTES=$CHROME_VERSION_MISMATCH_MESSAGE
5454
- name: Checkout Repo
55-
uses: actions/checkout@master
55+
uses: actions/checkout@v4
5656
with:
5757
# This makes Actions fetch all Git history so run-changed script can diff properly.
5858
fetch-depth: 0
@@ -84,7 +84,7 @@ jobs:
8484
sudo apt-get install wget
8585
8686
- name: Checkout Repo
87-
uses: actions/checkout@master
87+
uses: actions/checkout@v4
8888
with:
8989
# This makes Actions fetch all Git history so run-changed script can diff properly.
9090
fetch-depth: 0

.github/workflows/test-changed-fcm-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
sudo apt-get update
3535
sudo apt-get install google-chrome-stable
3636
- name: Checkout Repo
37-
uses: actions/checkout@master
37+
uses: actions/checkout@v4
3838
with:
3939
# This makes Actions fetch all Git history so run-changed script can diff properly.
4040
fetch-depth: 0

.github/workflows/test-changed-firestore-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

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

.github/workflows/test-changed-firestore.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

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

.github/workflows/test-changed-misc.yml

+1-1
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
# This makes Actions fetch all Git history so run-changed script can diff properly.
3333
fetch-depth: 0

.github/workflows/test-changed.yml

+2-2
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
# This makes Actions fetch all Git history so run-changed script can diff properly.
3333
fetch-depth: 0
@@ -57,7 +57,7 @@ jobs:
5757

5858
steps:
5959
- name: Checkout Repo
60-
uses: actions/checkout@master
60+
uses: actions/checkout@v4
6161
with:
6262
fetch-depth: 0
6363
- name: Set up Node (20)

.github/workflows/test-firebase-integration.yml

+1-1
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
# This makes Actions fetch all Git history so run-changed script can diff properly.
3333
fetch-depth: 0

.github/workflows/update-api-reports.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
contents: write
2626
steps:
2727
- name: Checkout Repo
28-
uses: actions/checkout@master
28+
uses: actions/checkout@v4
2929
with:
3030
# checkout HEAD commit instead of merge commit
3131
ref: ${{ github.event.pull_request.head.ref }}

0 commit comments

Comments
 (0)