Skip to content

Commit

Permalink
Send a PR for the branch that triggered the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedSabthar committed Sep 27, 2023
1 parent a5dc459 commit 8b344ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-package-connector-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion .github/workflows/release-package-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 8b344ce

Please sign in to comment.