Sync with upstream #639
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 with upstream | |
on: | |
schedule: | |
- cron: '33 7 * * *' | |
workflow_dispatch: # click the button on Github repo! | |
push: | |
jobs: | |
sync_master: # master follows upstream strictly | |
runs-on: ubuntu-latest | |
name: Sync master with upstream/master | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v2 | |
with: | |
ref: master | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Pull (Fast-Forward) upstream changes | |
id: sync-master | |
uses: aormsby/Fork-Sync-With-Upstream-action@v3.2 | |
with: | |
upstream_sync_repo: phobos2077/sfall | |
upstream_sync_branch: master | |
target_sync_branch: master | |
target_repo_token: ${{ secrets.GITHUB_TOKEN }} | |
shallow_since: '10 years' | |
sync_better_docs: | |
runs-on: ubuntu-latest | |
name: Sync better-docs with upstream/master | |
steps: | |
- name: Checkout better-docs | |
uses: actions/checkout@v2 | |
with: | |
ref: better-docs | |
token: ${{ secrets.GITHUB_TOKEN }} | |
fetch-depth: 0 | |
- name: Pull (Fast-Forward) upstream changes (better-docs) | |
id: sync-better-docs | |
uses: aormsby/Fork-Sync-With-Upstream-action@v3.2 | |
with: | |
upstream_sync_repo: phobos2077/sfall | |
upstream_sync_branch: master | |
target_sync_branch: better-docs | |
target_repo_token: ${{ secrets.GITHUB_TOKEN }} | |
shallow_since: '10 years' | |
sync_develop: | |
runs-on: ubuntu-latest | |
name: Sync develop with upstream/develop | |
steps: | |
- name: Checkout develop | |
uses: actions/checkout@v2 | |
with: | |
ref: better-docs | |
token: ${{ secrets.GITHUB_TOKEN }} | |
fetch-depth: 0 | |
- name: Pull (Fast-Forward) upstream changes (develop) | |
id: sync-develop | |
uses: aormsby/Fork-Sync-With-Upstream-action@v3.2 | |
with: | |
upstream_sync_repo: phobos2077/sfall | |
upstream_sync_branch: develop | |
target_sync_branch: develop | |
target_repo_token: ${{ secrets.GITHUB_TOKEN }} | |
shallow_since: '10 years' |