Skip to content

Commit 5f38e0e

Browse files
authored
Merge pull request #157 from ecmwf-actions/fix-sync-workflow-version2
Fix exclusion in sync workflow -- Version 2
2 parents 3370a4e + 233e7ee commit 5f38e0e

24 files changed

+55
-39
lines changed

.github/workflows/sync-files-to-repos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout Repository
1414
uses: actions/checkout@v4
1515
- name: Run Repo File Sync Action
16-
uses: BetaHuhn/repo-file-sync-action@v1.19.1
16+
uses: BetaHuhn/repo-file-sync-action@v1
1717
with:
1818
GH_PAT: ${{ secrets.REPO_SYNC_ACTION_PAT }}
1919
GIT_EMAIL: "[email protected]"
File renamed without changes.
File renamed without changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": ""
3+
}

sync-files/sync.yml

Lines changed: 51 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -37,112 +37,125 @@ group:
3737
3838
# Anemoi Datasets specific
3939
- files:
40-
- source: sync-files/anemoi/
40+
- source: sync-files/anemoi/all/
4141
dest: ./
4242
template:
4343
repo_name: anemoi-datasets
4444
year: 2024-2025
4545
authors: Anemoi Contributors
4646
short_desc: "Datasets for training data-driven weather forecasts."
47-
exclude: |
48-
.release-please-manifest.json
49-
.github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
47+
# exclude: |
48+
# .release-please-manifest.json
49+
# .github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
50+
- source: sync-files/anemoi/some/.github/workflows/downstream-ci-hpc.yml
51+
dest: .github/workflows/downstream-ci-hpc.yml
52+
template:
53+
repo_name: anemoi-datasets
54+
- source: sync-files/anemoi/some/.github/workflows/push-to-private.yml
55+
dest: .github/workflows/push-to-private.yml
56+
template:
57+
repo_name: anemoi-datasets
5058
repos: |
5159
ecmwf/anemoi-datasets
5260
53-
5461
# Anemoi inference specific
5562
- files:
56-
- source: sync-files/anemoi/
63+
- source: sync-files/anemoi/all/
5764
dest: ./
5865
template:
5966
repo_name: anemoi-inference
6067
year: 2024-2025
6168
authors: Anemoi Contributors
6269
short_desc: "Inference tools for data-driven weather forecasts."
63-
exclude: |
64-
.release-please-manifest.json
65-
.github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
66-
.github/workflows/push-to-private.yml
70+
# exclude: |
71+
# .release-please-manifest.json
72+
# .github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
73+
# .github/workflows/push-to-private.yml
74+
- source: sync-files/anemoi/some/.github/workflows/downstream-ci-hpc.yml
75+
dest: .github/workflows/downstream-ci-hpc.yml
76+
template:
77+
repo_name: anemoi-inference
6778
repos: |
6879
ecmwf/anemoi-inference
6980
7081
7182
# Anemoi registry specific
7283
- files:
73-
- source: sync-files/anemoi/
84+
- source: sync-files/anemoi/all/
7485
dest: ./
7586
template:
7687
repo_name: anemoi-registry
7788
year: 2024-2025
7889
authors: Anemoi Contributors
7990
short_desc: "Registry for data-driven weather forecasts."
80-
exclude: |
81-
.release-please-manifest.json
82-
.github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
83-
.github/workflows/push-to-private.yml
84-
.github/workflows/downstream-ci-hpc.yml
91+
# exclude: |
92+
# .release-please-manifest.json
93+
# .github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
94+
# .github/workflows/push-to-private.yml
95+
# .github/workflows/downstream-ci-hpc.yml
8596
repos: |
8697
ecmwf/anemoi-registry
8798
8899
89100
# Anemoi transform specific
90101
- files:
91-
- source: sync-files/anemoi/
102+
- source: sync-files/anemoi/all/
92103
dest: ./
93104
template:
94105
repo_name: anemoi-transform
95106
year: 2024-2025
96107
authors: Anemoi Contributors
97108
short_desc: "Miscellanous data transformation functions for training data-driven weather forecasts."
98-
exclude: |
99-
.release-please-manifest.json
100-
.github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
101-
.github/workflows/push-to-private.yml
109+
# exclude: |
110+
# .release-please-manifest.json
111+
# .github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
112+
# .github/workflows/push-to-private.yml
113+
- source: sync-files/anemoi/some/.github/workflows/downstream-ci-hpc.yml
114+
dest: .github/workflows/downstream-ci-hpc.yml
115+
template:
116+
repo_name: anemoi-transform
102117
repos: |
103118
ecmwf/anemoi-transform
104119
105120
106121
# Anemoi utils specific
107122
- files:
108-
- source: sync-files/anemoi/
123+
- source: sync-files/anemoi/all/
109124
dest: ./
110125
template:
111126
repo_name: anemoi-utils
112127
year: 2024-2025
113128
authors: Anemoi Contributors
114129
short_desc: "Miscellanous tools for training data-driven weather forecasts."
115-
exclude: |
116-
.release-please-manifest.json
117-
.github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
118-
.github/workflows/push-to-private.yml
130+
# exclude: |
131+
# .release-please-manifest.json
132+
# .github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
133+
# .github/workflows/push-to-private.yml
134+
- source: sync-files/anemoi/some/.github/workflows/downstream-ci-hpc.yml
135+
dest: .github/workflows/downstream-ci-hpc.yml
136+
template:
137+
repo_name: anemoi-utils
119138
repos: |
120139
ecmwf/anemoi-utils
121140
122141
123142
# Anemoi Core specific
124143
- files:
125-
- source: sync-files/general/python/
126-
dest: graphs/
144+
- source: sync-files/general/python/LICENSE
145+
dest: graphs/LICENSE
127146
template:
128147
year: 2024-2025
129148
authors: Anemoi Contributors
130-
exclude:
131-
- .github/dependabot.yml
132-
- source: sync-files/general/python/
133-
dest: models/
149+
- source: sync-files/general/python/LICENSE
150+
dest: models/LICENSE
134151
template:
135152
year: 2024-2025
136153
authors: Anemoi Contributors
137-
exclude:
138-
- .github/dependabot.yml
139-
- source: sync-files/general/python/
140-
dest: training/
154+
- source: sync-files/general/python/LICENSE
155+
dest: training/LICENSE
141156
template:
142157
year: 2024-2025
143158
authors: Anemoi Contributors
144-
exclude:
145-
- .github/dependabot.yml
146159
- source: sync-files/anemoi/CONTRIBUTORS.md
147160
dest: CONTRIBUTORS.md
148161
template:

0 commit comments

Comments
 (0)