fix: ready-to-release workflow #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ready to Release | |
on: | |
push: | |
branches: | |
- release-** | |
jobs: | |
create-pull-requests-for-release: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Create the release PR | |
run: | | |
gh pr create \ | |
--base main \ | |
--assignee ${{ github.actor }} \ | |
--title "Release ${GITHUB_REF_NAME#release-}" \ | |
--body "" \ | |
--label "release" | |
- name: Create the release PR to develop | |
run: | | |
gh pr create \ | |
--base develop \ | |
--assignee ${{ github.actor }} \ | |
--fill \ | |
--label "ignore-for-release" |