Skip to content

Commit aab4079

Browse files
authoredJun 22, 2022
chore: rename node branches (#5028)
Both nodejs and npm branches are now "main"
1 parent facba42 commit aab4079

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎.github/workflows/create-cli-deps-pr.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v3
2020
with:
2121
fetch-depth: 0
22-
ref: master
22+
ref: main
2323
repository: npm/node
2424
token: ${{ secrets.NODE_PULL_REQUEST_TOKEN }}
2525
- name: Setup git user
@@ -29,9 +29,9 @@ jobs:
2929
- name: Sync upstream changes
3030
uses: aormsby/Fork-Sync-With-Upstream-action@v3.2
3131
with:
32-
target_sync_branch: master
32+
target_sync_branch: main
3333
target_repo_token: ${{ secrets.NODE_PULL_REQUEST_TOKEN }}
34-
upstream_sync_branch: master
34+
upstream_sync_branch: main
3535
upstream_sync_repo: nodejs/node
3636
upstream_pull_args: --ff-only
3737
- name: Run dependency updates and create PR
@@ -46,7 +46,7 @@ jobs:
4646
4747
if [ "$npm_version" == "latest" ]; then
4848
npm_tag=`npm view npm@latest version`
49-
base_branch="master"
49+
base_branch="main"
5050
else
5151
npm_tag="$npm_version"
5252
base_branch="v14.x-staging"
@@ -81,7 +81,7 @@ jobs:
8181
8282
git add -A deps/npm
8383
git commit -m "$message"
84-
git rebase --whitespace=fix master
84+
git rebase --whitespace=fix main
8585
8686
if [[ "$dry_run" == "true" ]]; then
8787
git status

0 commit comments

Comments
 (0)
Please sign in to comment.