This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
🔀 Dev -> Main #396
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/branch-merge@1.1.0 | |
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 }} |