Skip to content

Commit 4b0e9ad

Browse files
authored
Update GitHub actions to reference 'main' instead of 'master' (#2460)
1 parent c26ed86 commit 4b0e9ad

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/changelog_reminder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
1919
- name: Check changed files
2020
run: |
21-
git fetch origin master
22-
PR_DIFF=$(git diff origin/master --name-only)
21+
git fetch origin main
22+
PR_DIFF=$(git diff origin/main --name-only)
2323
echo "$PR_DIFF"
2424
if [[ $PR_DIFF == *"CHANGELOG.md"* ]]; then
2525
echo "CHANGELOG.md has been updated."

.github/workflows/dcm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
types: [synchronize, opened, reopened]
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
dcm:

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Publish
44

55
on:
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88
types: [opened, synchronize, reopened, labeled, unlabeled]
99
push:
1010
tags: [ '[A-z]+-v[0-9]+.[0-9]+.[0-9]+*' ]

0 commit comments

Comments
 (0)