Auto-sync of upstream branches #4640
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: Auto-sync | |
run-name: Auto-sync of upstream branches | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "20 4-22 * * *" | |
jobs: | |
auto-sync: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
steps: | |
- name: Sync release | |
run: | | |
gh repo sync ${{github.repository}} --branch release | |
- name: Sync develop | |
run: | | |
gh repo sync ${{github.repository}} --branch develop | |
- name: Sync freeze | |
run: | | |
gh repo sync ${{github.repository}} --branch freeze | |
- name: Sync 3.0.x | |
run: | | |
gh repo sync ${{github.repository}} --branch 3.0.x | |