Main to Prod #773
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: Main to Prod | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
main_to_prod: | |
name: Create pull request | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Open PR | |
run: gh pr create --base prod --title "Production deployment" --body "" | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
# @todo find exit codes when PR exists or no changes required. | |
continue-on-error: true |