From 855599c48b3fac06faffd62c100395ea0f512b0f Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 15 Jun 2022 13:23:43 -0700 Subject: [PATCH] chore: rename node branches Both nodejs and npm branches are now "main" --- .github/workflows/create-cli-deps-pr.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-cli-deps-pr.yml b/.github/workflows/create-cli-deps-pr.yml index 595bc64acd340..e0fd97fa206b3 100644 --- a/.github/workflows/create-cli-deps-pr.yml +++ b/.github/workflows/create-cli-deps-pr.yml @@ -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 @@ -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 @@ -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" @@ -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