Skip to content

Sync Forks

Sync Forks #270

Workflow file for this run

name: Sync Forks
on:
schedule:
- cron: "47 11 * * *" # once every day
push:
paths:
- .github/workflows/sync-forks.yml
workflow_dispatch:
permissions:
contents: write
env:
# Token must be created by someone with write access for all forks.
# Be sure to 'configure SSO' from the token creation page for each fork organization.
GH_TOKEN: ${{ secrets.SYNC_FORK_TOKEN }}
UPSTREAM_OWNER: CCBR
jobs:
sync:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
FORK_OWNER: [NCIPangea, abcsFrederick]
REPO: [ASPEN, CARLISLE, CHAMPAGNE, CRUISE, RENEE, XAVIER]
include:
- REPO: ASCENT
FORK_OWNER: abcsFrederick
- REPO: CCBR_circRNA_AmpliconSeq
FORK_OWNER: abcsFrederick
- REPO: CCBR_NextflowTemplate
FORK_OWNER: abcsFrederick
- REPO: CCBR_SnakemakeTemplate
FORK_OWNER: abcsFrederick
- REPO: DNAnexus
FORK_OWNER: abcsFrederick
- REPO: DOCKERS
FORK_OWNER: abcsFrederick
- REPO: HapFerret
FORK_OWNER: abcsFrederick
- REPO: HERVx
FORK_OWNER: abcsFrederick
- REPO: l2p
FORK_OWNER: abcsFrederick
- REPO: METRO
FORK_OWNER: abcsFrederick
- REPO: MAAPSTER
FORK_OWNER: abcsFrederick
- REPO: permfix
FORK_OWNER: abcsFrederick
- REPO: pyrkit
FORK_OWNER: abcsFrederick
- REPO: rNA
FORK_OWNER: abcsFrederick
- REPO: SINCLAIR
FORK_OWNER: abcsFrederick
- REPO: spacesavers2
FORK_OWNER: abcsFrederick
- REPO: TRANQUIL
FORK_OWNER: abcsFrederick
- REPO: MAPLE
FORK_OWNER: abcsFrederick
- REPO: LOGAN
FORK_OWNER: abcsFrederick
steps:
- name: sync forked repos
run: |
gh repo sync ${{ matrix.FORK_OWNER }}/${{ matrix.REPO }} --source $UPSTREAM_OWNER/${{ matrix.REPO }} --force
sync-nidap:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
FORK_OWNER: [NIDAP-Community]
REPO:
- CPTR-9-Weigert-DSP-Analysis
- CPTR_5_DSP_Krug
- CPTR_6_DSP_Annunziata
steps:
- name: sync forked repos
run: |
gh repo sync ${{ matrix.FORK_OWNER }}/${{ matrix.REPO }} --source $UPSTREAM_OWNER/${{ matrix.REPO }} --force