diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a4f2fd..66e9812 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 \ No newline at end of file