Skip to content

Commit 525b239

Browse files
jsegal205doomspork
andauthored
[feat]: add Beam community common config (#721)
* add beam-community common-config * use repo tool-versions to specify versions --------- Co-authored-by: Sean Callan <[email protected]>
1 parent 9e73578 commit 525b239

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

Diff for: .github/workflows/common-config.yaml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# This file is synced with beam-community/common-config. Any changes will be overwritten.
2+
3+
name: Common Config
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
paths:
10+
- .github/workflows/common-config.yaml
11+
repository_dispatch:
12+
types:
13+
- common-config
14+
schedule:
15+
- cron: "8 12 8 * *"
16+
workflow_dispatch: {}
17+
18+
concurrency:
19+
group: Common Config
20+
21+
jobs:
22+
Sync:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
with:
29+
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
30+
persist-credentials: true
31+
32+
- name: Setup Node
33+
uses: actions/setup-node@v4
34+
with:
35+
node-version-file: .tool-versions
36+
37+
- name: Setup Elixir
38+
uses: stordco/actions-elixir/setup@v1
39+
with:
40+
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
41+
42+
- name: Sync
43+
uses: stordco/actions-sync@v1
44+
with:
45+
commit-message: "chore: sync files with beam-community/common-config"
46+
pr-enabled: true
47+
pr-labels: common-config
48+
pr-title: "chore: sync files with beam-community/common-config"
49+
pr-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
50+
sync-auth: doomspork:${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
51+
sync-branch: latest
52+
sync-repository: github.com/beam-community/common-config.git

0 commit comments

Comments
 (0)