Master weekly sync #19
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/checkout@v4.1.1 | |
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 |