Stable Release Step 1 - Create PR #3
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
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 10 8-14 * tue" | |
jobs: | |
create-release-pull-request: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: create pull request | |
run: gh pr create -B stable -H dev-branch --title 'Monthly Release PR - $(date '+%Y-%m-%d')' --body 'Monthly pull request for creating the latest stable release from staged security fixes, bug fixes, and minor enhancements.' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# release-stable: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Merge staging | |
# run: | | |
# git merge dev-branch | |
# git push | |
# - name: Release tag | |
# run: | | |
# # get version from file | |
# # create release with version as tag | |
# # auto generate release notes | |
# # send notices/announcements | |