Sync Upstream #84
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: Sync Upstream | |
permissions: write-all # grant write permission | |
on: | |
schedule: | |
- cron: '0 0 * * 1' # scheduled for 00:00 every Monday | |
workflow_dispatch: # trigger manually | |
jobs: | |
sync-upstream: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: master # set the branch to merge to | |
fetch-depth: 0 | |
- name: Sync Upstream | |
uses: zhangnew/sync-upstream@v1 | |
with: | |
upstream: exions/merge-upstream # set the upstream repo | |
upstream-branch: master # set the upstream branch to merge from | |
branch: master # set the branch to merge to | |