Skip to content

Commit

Permalink
fixup! Chore(ci): Introduce new release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Oct 4, 2024
1 parent 6bccfe8 commit 595d80a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,13 @@ jobs:
git push --set-upstream origin ${{ needs.release-branch.outputs.release-branch }} && git push --tags
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ needs.release-branch.outputs.release-branch }}
base: ${{ env.BRANCH_NAME }}
title: 'Release'
body: 'Automated release PR for ${{ env.BRANCH_NAME }}'
# uses: peter-evans/create-pull-request@v7
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# branch: ${{ needs.release-branch.outputs.release-branch }}
# base: ${{ env.BRANCH_NAME }}
# title: 'Release'
# body: 'Automated release PR for ${{ env.BRANCH_NAME }}'
run: gh pr create -B ${{ env.BRANCH_NAME }} -H ${{ needs.release-branch.outputs.release-branch }} --title 'Merge branch_to_merge into base_branch' --body 'Created by Github action'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 595d80a

Please sign in to comment.