Skip to content

Commit 9090360

Browse files
committed
WIP: file sync
1 parent 5c79fab commit 9090360

File tree

4 files changed

+135
-1
lines changed

4 files changed

+135
-1
lines changed

.github/dependabot.njk

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
updates:
3+
{% for dep in deps %}
4+
- package-ecosystem: {{dep.ecosystem}}
5+
directory: "/"
6+
schedule:
7+
interval: weekly
8+
open-pull-requests-limit: 10
9+
groups:
10+
patch-updates:
11+
applies-to: version-updates
12+
update-types:
13+
- "patch"
14+
- "minor"
15+
commit-message:
16+
include: "scope"
17+
prefix: "build"
18+
{% endfor %}

.github/dependabot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ updates:
1111
update-types:
1212
- "patch"
1313
- "minor"
14-
# Including this due to certain github action steps installing via npm
1514
- package-ecosystem: npm
1615
directory: "/"
1716
schedule:

.github/sync.yml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# Use individual repo settings for files that differ
2+
rollkit/.github:
3+
- source: .github/dependabot.njk
4+
dest: .github/dependabot.yml
5+
template:
6+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
7+
rollkit/astria-sequencer:
8+
- source: .github/dependabot.njk
9+
dest: .github/dependabot.yml
10+
template:
11+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
12+
rollkit/avail-da:
13+
- source: .github/dependabot.njk
14+
dest: .github/dependabot.yml
15+
template:
16+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
17+
rollkit/bitcoin-da:
18+
- source: .github/dependabot.njk
19+
dest: .github/dependabot.yml
20+
template:
21+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
22+
rollkit/centralized-sequencer:
23+
- source: .github/dependabot.njk
24+
dest: .github/dependabot.yml
25+
template:
26+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
27+
rollkit/cosmos-sdk-starter:
28+
- source: .github/dependabot.njk
29+
dest: .github/dependabot.yml
30+
template:
31+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
32+
rollkit/cosmwasm:
33+
- source: .github/dependabot.njk
34+
dest: .github/dependabot.yml
35+
template:
36+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
37+
rollkit/docs:
38+
- source: .github/dependabot.njk
39+
dest: .github/dependabot.yml
40+
template:
41+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
42+
rollkit/go-da:
43+
- source: .github/dependabot.njk
44+
dest: .github/dependabot.yml
45+
template:
46+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
47+
rollkit/go-execution:
48+
- source: .github/dependabot.njk
49+
dest: .github/dependabot.yml
50+
template:
51+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
52+
rollkit/go-execution-abci:
53+
- source: .github/dependabot.njk
54+
dest: .github/dependabot.yml
55+
template:
56+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
57+
rollkit/go-sequencing:
58+
- source: .github/dependabot.njk
59+
dest: .github/dependabot.yml
60+
template:
61+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
62+
rollkit/local-da:
63+
- source: .github/dependabot.njk
64+
dest: .github/dependabot.yml
65+
template:
66+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
67+
rollkit/rollkit:
68+
- source: .github/dependabot.njk
69+
dest: .github/dependabot.yml
70+
template:
71+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
72+
rollkit/template-da-repo:
73+
- source: .github/dependabot.njk
74+
dest: .github/dependabot.yml
75+
template:
76+
deps: [{ ecosystem: "docker" }, { ecosystem: "github-actions" }]
77+
78+
# Use groups for common files that have no differences
79+
group:
80+
repos: |
81+
rollkit/.github
82+
rollkit/astria-sequencer
83+
rollkit/avail-da
84+
rollkit/bitcoin-da
85+
rollkit/centralized-sequencer
86+
rollkit/cosmos-sdk-starter
87+
rollkit/cosmwasm
88+
rollkit/docs
89+
rollkit/go-da
90+
rollkit/go-execution
91+
rollkit/go-execution-abci
92+
rollkit/go-sequencing
93+
rollkit/local-da
94+
rollkit/rollkit
95+
rollkit/template-da-repo
96+
files:
97+
- .github/workflows/semantic_pull_request.yml
98+
- .github/workflows/semantic_release.yml

.github/workflows/sync.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Sync Files
2+
on:
3+
push:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
jobs:
8+
sync:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Repository
12+
uses: actions/checkout@main
13+
- name: Run GitHub File Sync
14+
uses: BetaHuhn/repo-file-sync-action@v1
15+
with:
16+
GH_PAT: ${{ secrets.SYNC }}
17+
PR_LABELS: "action sync"
18+
COMMIT_PREFIX: "chore: "
19+
COMMIT_EACH_FILE: false

0 commit comments

Comments
 (0)