Skip to content

Commit

Permalink
chore: rename node branches (#5028)
Browse files Browse the repository at this point in the history
Both nodejs and npm branches are now "main"
  • Loading branch information
wraithgar authored Jun 22, 2022
1 parent facba42 commit aab4079
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/create-cli-deps-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
ref: main
repository: npm/node
token: ${{ secrets.NODE_PULL_REQUEST_TOKEN }}
- name: Setup git user
Expand All @@ -29,9 +29,9 @@ jobs:
- name: Sync upstream changes
uses: aormsby/Fork-Sync-With-Upstream-action@v3.2
with:
target_sync_branch: master
target_sync_branch: main
target_repo_token: ${{ secrets.NODE_PULL_REQUEST_TOKEN }}
upstream_sync_branch: master
upstream_sync_branch: main
upstream_sync_repo: nodejs/node
upstream_pull_args: --ff-only
- name: Run dependency updates and create PR
Expand All @@ -46,7 +46,7 @@ jobs:
if [ "$npm_version" == "latest" ]; then
npm_tag=`npm view npm@latest version`
base_branch="master"
base_branch="main"
else
npm_tag="$npm_version"
base_branch="v14.x-staging"
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
git add -A deps/npm
git commit -m "$message"
git rebase --whitespace=fix master
git rebase --whitespace=fix main
if [[ "$dry_run" == "true" ]]; then
git status
Expand Down

0 comments on commit aab4079

Please sign in to comment.