Skip to content

Sync with upstream #728

Sync with upstream

Sync with upstream #728

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
steps:
- name: Checkout master
uses: actions/checkout@v3
with:
ref: master
token: ${{ secrets.GITHUB_TOKEN }}
- name: Pull (Fast-Forward) upstream changes
id: sync
uses: aormsby/[email protected]
with:
upstream_sync_repo: Gibberlings3/iesdp
upstream_sync_branch: master
upstream_pull_args: "--ff-only --tags"
target_sync_branch: master
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
sync_bgforge: # bgforge is a branch with cosmetic changes
runs-on: ubuntu-latest
name: Sync bgforge with upstream master
steps:
- name: Checkout bgforge
uses: actions/checkout@v3
with:
ref: bgforge
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Pull (Fast-Forward) upstream changes (bgforge)
id: sync-bgforge
uses: aormsby/[email protected]
with:
upstream_sync_repo: Gibberlings3/iesdp
upstream_sync_branch: master
upstream_pull_args: "--tags"
target_sync_branch: bgforge
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
sync_ielib: # ielib is a branch with data changes, necessary for import into BGforge MLS and IElib
runs-on: ubuntu-latest
name: Sync ielib with upstream master
steps:
- name: Checkout ielib
uses: actions/checkout@v3
with:
ref: ielib
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Pull (Fast-Forward) upstream changes (ielib)
id: sync-ielib
uses: aormsby/[email protected]
with:
upstream_sync_repo: Gibberlings3/iesdp
upstream_sync_branch: master
upstream_pull_args: "--tags"
target_sync_branch: ielib
target_repo_token: ${{ secrets.GITHUB_TOKEN }}