Skip to content

Commit

Permalink
ci(action): add release pr
Browse files Browse the repository at this point in the history
  • Loading branch information
esteinig committed Feb 10, 2024
1 parent b591a23 commit 7a92606
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,13 @@ jobs:
run: |
cog bump --auto
git push origin "release/${{ steps.release.outputs.version }}"
git push origin "${{ steps.release.outputs.version }}"
- name: Create PR
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Merge release ${{ steps.release.outputs.version }}'
title: '[RELEASE] Merge release ${{ steps.release.outputs.version }} into main'
body: 'This is an automated pull request to merge changes from the release/${{ steps.release.outputs.version }} into main'
branch: "release/${{ steps.release.outputs.version }}"
base: main

0 comments on commit 7a92606

Please sign in to comment.