Skip to content

Commit

Permalink
fix: release.yml created a version bump PR
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyabareeva authored Nov 21, 2024
1 parent 55a10bc commit 2d5b61e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,17 @@ jobs:
changelog: true
tag: true

- name: Push changes to a new branch and create a PR
run: |
# Create a new branch from main
git checkout -b version-bump-${{ steps.release.outputs.version }}
# Push changes to the new branch
git push origin version-bump-${{ steps.release.outputs.version }}
# Create a pull request using GitHub CLI (gh)
gh pr create --base main --head version-bump-${{ steps.release.outputs.version }} --title "chore: Version bump to ${{ steps.release.outputs.version }}" --body "Automated version bump"
env:
GITHUB_TOKEN: ${{ secrets.QUANDA_ADMIN }}

0 comments on commit 2d5b61e

Please sign in to comment.