diff --git a/.github/workflows/create-release-proposal.yml b/.github/workflows/create-release-proposal.yml index 4084e75666ae6a..925b722b01a697 100644 --- a/.github/workflows/create-release-proposal.yml +++ b/.github/workflows/create-release-proposal.yml @@ -37,7 +37,7 @@ jobs: steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: - branch: ${{ env.STAGING_BRANCH }} + ref: ${{ env.STAGING_BRANCH }} # Needs the whole git history for ncu to work # See https://github.com/nodejs/node-core-utils/pull/486 fetch-depth: 0 diff --git a/tools/actions/create-release.sh b/tools/actions/create-release.sh index 1f17ba489cd6f0..e85b868ee71f89 100755 --- a/tools/actions/create-release.sh +++ b/tools/actions/create-release.sh @@ -5,6 +5,7 @@ set -xe RELEASE_DATE=$1 RELEASE_LINE=$2 +git branch git node release --prepare --skipBranchDiff # We use it to not specify the branch name as it changes based on # the commit list (semver-minor/semver-patch)