Skip to content

Sync with upstream #604

Sync with upstream

Sync with upstream #604

Workflow file for this run

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/[email protected]
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/[email protected]
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/[email protected]
with:
upstream_sync_repo: phobos2077/sfall
upstream_sync_branch: develop
target_sync_branch: develop
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
shallow_since: '10 years'