common-config-elixir #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is synced with stordco/common-config-elixir. Any changes will be overwritten. | |
name: Common Config Elixir | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/common-config-elixir.yaml | |
repository_dispatch: | |
types: | |
- common-config-elixir | |
schedule: | |
- cron: "8 17 2 * *" | |
workflow_dispatch: {} | |
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: 18 | |
- name: Setup Elixir | |
uses: stordco/actions-elixir/setup@v1 | |
with: | |
elixir-version: "1.15" | |
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
hex-token: ${{ secrets.HEX_API_KEY }} | |
oban-fingerprint: ${{ secrets.OBAN_KEY_FINGERPRINT }} | |
oban-token: ${{ secrets.OBAN_LICENSE_KEY }} | |
otp-version: "26.0" | |
- name: Sync | |
uses: stordco/actions-sync@v1 | |
with: | |
commit-message: "chore: sync files with stordco/common-config-elixir" | |
pr-enabled: true | |
pr-labels: common-config | |
pr-title: "chore: sync files with stordco/common-config-elixir" | |
pr-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
sync-auth: stord-engineering-account:${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
sync-branch: latest | |
sync-repository: github.com/stordco/common-config-elixir.git |