Skip to content

Commit 56ed038

Browse files
committed
Use actions/*@main
1 parent e34a0a8 commit 56ed038

22 files changed

+32
-32
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@main
3131
with:
3232
# Canary release script requires git history and tags.
3333
fetch-depth: 0

.github/workflows/check-changeset.yml

Lines changed: 2 additions & 2 deletions
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@main
3434
with:
3535
# This makes Actions fetch all Git history so check_changeset script can diff properly.
3636
fetch-depth: 0
@@ -89,4 +89,4 @@ jobs:
8989
# Don't want it to throw before editing the comment.
9090
- name: Fail if checker script logged a blocking failure
9191
if: ${{steps.check-changeset.outputs.BLOCKING_FAILURE == 'true'}}
92-
run: exit 1
92+
run: exit 1

.github/workflows/check-docs.yml

Lines changed: 2 additions & 2 deletions
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@main
2727
with:
2828
# get all history for the diff
2929
fetch-depth: 0
@@ -39,4 +39,4 @@ jobs:
3939
run: git diff --exit-code docs-devsite
4040
- name: Reference documentation needs to be updated. See message below.
4141
if: ${{ failure() }}
42-
run: echo "Changes in this PR affect the reference docs. Run \`yarn docgen devsite\` locally to regenerate docs and add them to this PR."
42+
run: echo "Changes in this PR affect the reference docs. Run \`yarn docgen devsite\` locally to regenerate docs and add them to this PR."

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

Lines changed: 2 additions & 2 deletions
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@main
2727
with:
2828
# This makes Actions fetch all Git history so run-changed script can diff properly.
2929
fetch-depth: 0
@@ -38,4 +38,4 @@ jobs:
3838
- name: Swap in public typings
3939
run: yarn release:prepare
4040
- name: Check paths
41-
run: yarn ts-node scripts/ci-test/check-paths.ts
41+
run: yarn ts-node scripts/ci-test/check-paths.ts

.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@main
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
@@ -60,7 +60,7 @@ jobs:
6060

6161
steps:
6262
- name: Checkout Repo
63-
uses: actions/checkout@master
63+
uses: actions/checkout@main
6464
- name: Set up Node (20)
6565
uses: actions/setup-node@master
6666
with:

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
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@main
3131
with:
3232
# get all history for the diff
3333
fetch-depth: 0
@@ -43,4 +43,4 @@ jobs:
4343
run: git diff --exit-code
4444
- name: Formatting needs to be updated. See message below.
4545
if: ${{ failure() }}
46-
run: echo "Something was changed by formatting. Run \`yarn format\` locally to do a prettier/license pass. Use \`yarn format --help\` to see options."
46+
run: echo "Something was changed by formatting. Run \`yarn format\` locally to do a prettier/license pass. Use \`yarn format --help\` to see options."

.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@main
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@main
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@main
3030

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

.github/workflows/release-pr.yml

Lines changed: 1 addition & 1 deletion
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@main
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

Lines changed: 1 addition & 1 deletion
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@main
4141
with:
4242
# Release script requires git history and tags.
4343
fetch-depth: 0

.github/workflows/release-staging.yml

Lines changed: 1 addition & 1 deletion
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@main
6767
with:
6868
# Release script requires git history and tags.
6969
fetch-depth: 0

.github/workflows/release-tweet.yml

Lines changed: 2 additions & 2 deletions
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@main
3737
- name: Setup Node.js 20.x
3838
uses: actions/setup-node@master
3939
with:
@@ -52,4 +52,4 @@ jobs:
5252
consumer-key: ${{ secrets.TWITTER_CONSUMER_KEY }}
5353
consumer-secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
5454
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
55-
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
55+
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

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

Lines changed: 2 additions & 2 deletions
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@main
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@main
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

Lines changed: 1 addition & 1 deletion
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@main
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

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

4646
steps:
4747
- name: Checkout Repo
48-
uses: actions/checkout@master
48+
uses: actions/checkout@main
4949
with:
5050
# This makes Actions fetch all Git history so run-changed script can diff properly.
5151
fetch-depth: 0

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

Lines changed: 1 addition & 1 deletion
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@main
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

Lines changed: 2 additions & 2 deletions
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@main
3131
with:
3232
# This makes Actions fetch all Git history so run-changed script can diff properly.
3333
fetch-depth: 0
@@ -48,4 +48,4 @@ jobs:
4848
- name: Run tests
4949
run: yarn test:changed misc
5050
env:
51-
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
51+
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}

.github/workflows/test-changed.yml

Lines changed: 2 additions & 2 deletions
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@main
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@main
6161
with:
6262
fetch-depth: 0
6363
- name: Set up Node (20)

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

Lines changed: 2 additions & 2 deletions
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@main
3131
with:
3232
# This makes Actions fetch all Git history so run-changed script can diff properly.
3333
fetch-depth: 0
@@ -46,4 +46,4 @@ jobs:
4646
- name: build
4747
run: yarn build:changed firebase-integration
4848
- name: Run tests on changed packages
49-
run: yarn test:changed firebase-integration
49+
run: yarn test:changed firebase-integration

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

Lines changed: 2 additions & 2 deletions
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@main
2929
with:
3030
# checkout HEAD commit instead of merge commit
3131
ref: ${{ github.event.pull_request.head.ref }}
@@ -45,4 +45,4 @@ jobs:
4545
with:
4646
add: 'common/api-review/*'
4747
message: 'Update API reports'
48-
default_author: github_actor
48+
default_author: github_actor

0 commit comments

Comments
 (0)