Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .formatter.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is synced with beam-community/common-config. Any changes will be overwritten.

[
import_deps: [],
import_deps: [:phoenix, :plug],
inputs: ["*.{heex,ex,exs}", "{config,lib,priv,test}/**/*.{heex,ex,exs}"],
line_length: 120,
plugins: []
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Elixir
uses: stordco/actions-elixir/setup@v1
Expand All @@ -43,7 +43,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Elixir
uses: stordco/actions-elixir/setup@v1
Expand All @@ -58,7 +58,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Elixir
uses: stordco/actions-elixir/setup@v1
Expand All @@ -73,7 +73,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Elixir
uses: stordco/actions-elixir/setup@v1
Expand All @@ -93,7 +93,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Elixir
uses: stordco/actions-elixir/setup@v1
Expand All @@ -112,10 +112,10 @@ jobs:
fail-fast: false
matrix:
versions:
- elixir: 1.15
otp: 26
- elixir: 1.16
otp: 26
- elixir: 1.17
otp: 27
- elixir: 1.18
otp: 27

8 changes: 4 additions & 4 deletions .github/workflows/common-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
persist-credentials: true

- name: Setup Node
uses: actions/setup-node@v6
uses: actions/setup-node@v5
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"
elixir-version: "1.16"
otp-version: "26.0"

- name: Sync
Expand All @@ -50,5 +50,5 @@ jobs:
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-tree: latest
sync-repository: github.com/beam-community/common-config.git
39 changes: 39 additions & 0 deletions .github/workflows/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This file is synced with beam-community/common-config. Any changes will be overwritten.

name: Dependabot

on:
pull_request:
types:
- opened
- reopened
- synchronize

permissions:
contents: write
pull-requests: write

jobs:
Dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'

steps:
- name: Fetch Metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: $

- name: Approve PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: $
GH_TOKEN: $

- name: Enable auto-merge for patch and minor updates
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.dependency-type == 'direct:production'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: $
GH_TOKEN: $
3 changes: 3 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:

jobs:
Title:
permissions:
pull-requests: read

if: ${{ github.event_name == 'pull_request' }}
name: Check Title
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Elixir
uses: stordco/actions-elixir/setup@v1
Expand All @@ -32,4 +32,3 @@ jobs:
run: mix hex.publish --yes
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}

28 changes: 28 additions & 0 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This file is synced with beam-community/common-config. Any changes will be overwritten.

name: Publish Docs

on:
workflow_dispatch:

concurrency:
group: hex-publish-docs
cancel-in-progress: true

jobs:
Hex:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v5

- name: Setup Elixir
uses: stordco/actions-elixir/setup@v1
with:
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

- name: Publish Docs
run: mix hex.publish docs --yes
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
steps:
- id: release
name: Release
uses: google-github-actions/release-please-action@v4
uses: googleapis/release-please-action@v4
with:
command: manifest
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
release-type: elixir
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
elixir 1.16
erlang 26.0
elixir 1.18
erlang 27.2
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License

Copyright (c) 2024 BEAM Community
Copyright (c) 2025 BEAM Community

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
Loading