Skip to content

Commit

Permalink
chore: support common-config (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
doomspork committed Jan 18, 2024
1 parent fd6e85b commit 2c2a309
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Order alphabetically.
# Order is important. The last matching pattern takes the most precedence.

# Default owners for everything in the repo.
* @beam-community/team
54 changes: 54 additions & 0 deletions .github/workflows/common-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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@v3
with:
node-version: 18

- 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

0 comments on commit 2c2a309

Please sign in to comment.