diff --git a/.github/workflows/release-package-connector-template.yml b/.github/workflows/release-package-connector-template.yml index f119df64..e7bec58b 100644 --- a/.github/workflows/release-package-connector-template.yml +++ b/.github/workflows/release-package-connector-template.yml @@ -65,4 +65,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | gh release create v$VERSION --title "module-${{ inputs.package-org }}-${{ inputs.package-name }}-v$VERSION" - gh pr create --title "[Automated] Sync master after $VERSION release" --body "Sync master after $VERSION release" + gh pr create --base ${GITHUB_REF##*/} --title "[Automated] Sync master after $VERSION release" --body "Sync master after $VERSION release" diff --git a/.github/workflows/release-package-template.yml b/.github/workflows/release-package-template.yml index a23de7bf..681bccdb 100644 --- a/.github/workflows/release-package-template.yml +++ b/.github/workflows/release-package-template.yml @@ -89,4 +89,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | gh release create v$VERSION --title "module-${{ inputs.package-org }}-${{ inputs.package-name }}-v$VERSION" - gh pr create --title "[Automated] Sync master after $VERSION release" --body "Sync master after $VERSION release" + gh pr create --base ${GITHUB_REF##*/} --title "[Automated] Sync master after $VERSION release" --body "Sync master after $VERSION release"