Run PR workflows when converted from draft #5
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: Draft Release PR | |
on: | |
push: | |
branches: | |
- 'main' | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
draft-release: | |
name: Draft Release PR | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Create or Update Release PR | |
run: | | |
bash .bin/release-pr.sh |