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