Skip to content

Commit 702b248

Browse files
authored
feat: Setup common config (#322)
1 parent 00d01cf commit 702b248

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.github/workflows/common-config.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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@v3
34+
with:
35+
node-version: 18
36+
37+
- name: Setup Elixir
38+
uses: stordco/actions-elixir/setup@v1
39+
with:
40+
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
41+
elixir-version: "1.15"
42+
otp-version: "26.0"
43+
44+
- name: Sync
45+
uses: stordco/actions-sync@v1
46+
with:
47+
commit-message: "chore: sync files with beam-community/common-config"
48+
pr-enabled: true
49+
pr-labels: common-config
50+
pr-title: "chore: sync files with beam-community/common-config"
51+
pr-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
52+
sync-auth: doomspork:${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
53+
sync-branch: latest
54+
sync-repository: github.com/beam-community/common-config.git

0 commit comments

Comments
 (0)