-
Notifications
You must be signed in to change notification settings - Fork 0
111 lines (103 loc) · 3.25 KB
/
sync-forks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
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-from-CCBR:
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-to-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
- CPTR-12-Wang-DSP-Analysis
- CPTR-11-Beck-Canine-OsteoSarcoma-DSP-Analysis
- CPTR-10-Tosato-Mouse-WTA-DSP-Analysis
- DSP_Analysis
steps:
- name: sync forked repos
run: |
gh repo sync ${{ matrix.FORK_OWNER }}/${{ matrix.REPO }} --source $UPSTREAM_OWNER/${{ matrix.REPO }} --force
sync-misc:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- REPO: Oncogenomics_NF_WF
UPSTREAM_OWNER: CCRGeneticsBranch
FORK_OWNER: abcsFrederick
- REPO: fruitsc
UPSTREAM_OWNER: NCI-CCR-POB
FORK_OWNER: abcsFrederick
- REPO: POB_snMultiome_pipeline
UPSTREAM_OWNER: NCI-CCDI
FORK_OWNER: abcsFrederick
steps:
- name: sync forked repos
run: |
gh repo sync ${{ matrix.FORK_OWNER }}/${{ matrix.REPO }} --source ${{matrix.UPSTREAM_OWNER}}/${{ matrix.REPO }} --force