Skip to content

Commit

Permalink
fix: another try
Browse files Browse the repository at this point in the history
  • Loading branch information
talboren committed Aug 20, 2024
1 parent 7929a02 commit 5a63308
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
commit: true

- name: Open PR for release branch
id: pr-step
uses: peter-evans/[email protected]
with:
committer: Keep Release Bot <[email protected]>
Expand All @@ -39,3 +40,19 @@ jobs:
body: "This PR contains the latest release changes."
draft: false
base: main

- uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.pr-step.outputs.pull-request-number }}

- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release-step.outputs.version }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
--target="release/${{ steps.release-step.outputs.version }}" \
--generate-notes

0 comments on commit 5a63308

Please sign in to comment.