Master weekly sync #9
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: Master weekly sync | |
on: | |
schedule: | |
- cron: '0 15 * * sun' | |
workflow_dispatch: | |
jobs: | |
SyncAndMerge: | |
name: Sync master and merge develop | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
ref: develop | |
fetch-depth: '0' | |
- name: Merge Fast Forward Only | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git checkout master | |
git merge origin/develop --ff-only | |
git push origin HEAD |