π Dev -> Main #35
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: π Dev -> Main | |
on: | |
schedule: | |
- cron: '21 3 * * 3,6' | |
workflow_dispatch: | |
jobs: | |
develop-to-main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Checkout Code | |
uses: actions/checkout@v2 | |
- name: π¨ Merge develop to main | |
uses: everlytic/[email protected] | |
with: | |
github_token: ${{ secrets.YNPUT_BOT_TOKEN }} | |
source_ref: 'develop' | |
target_branch: 'main' | |
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}' | |
- name: Invoke pre-release workflow | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
workflow: prerelease.yml | |
token: ${{ secrets.YNPUT_BOT_TOKEN }} |