Skip to content

Commit 2c2a309

Browse files
committed
chore: support common-config (#436)
1 parent fd6e85b commit 2c2a309

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

.github/CODEOWNERS

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Order alphabetically.
2+
# Order is important. The last matching pattern takes the most precedence.
3+
4+
# Default owners for everything in the repo.
5+
* @beam-community/team

.github/workflows/common-config.yaml

+54
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)