Skip to content
Merged
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
32 changes: 32 additions & 0 deletions .github/changelog-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"categories": [
{
"title": "## 🚨 Breaking Changes",
"labels": ["breaking"]
},
{
"title": "## ⚠️ Deprecations",
"labels": ["deprecation"]
},
{
"title": "## 🎉 Improvements",
"labels": ["improvement"]
},
{
"title": "## 🐞 Bug Fixes",
"labels": ["bug"]
},
{
"title": "## 🛠️ Other Changes",
"labels": ["*"]
}
],
"transformers": [
{
"pattern": "^([A-Za-z]+-[0-9]+):? (.*)$",
"target": "$2 ([$1](https://box-id.atlassian.net/browse/$1))"
}
],
"template": "#{{CHANGELOG}}**Full Changelog:** #{{RELEASE_DIFF}}",
"pr_template": "- #{{TITLE}} [##{{NUMBER}}](#{{URL}})"
}
17 changes: 17 additions & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 🔩 Publish Release (Auto)

on:
push:
branches:
- main
paths:
- "mix.exs"

jobs:
release:
name: Publish Release
uses: box-id/github-actions/.github/workflows/elixir_publish_release.yml@main
with:
publish-to-hex: true
version-prefix: "v"
secrets: inherit
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Run tests

on: push

jobs:
test:
runs-on: ubuntu-latest
name: Elixir ${{matrix.elixir}} on OTP ${{matrix.otp}}
strategy:
matrix:
otp: ["28.x"]
elixir: ["1.18.x"]
env:
MIX_ENV: test
steps:
- name: Check out Repository
uses: actions/checkout@v4

- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- name: Retrieve Mix Dependencies Cache
uses: actions/cache@v4
with:
path: |
deps
_build
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-

- name: Fetch Mix Dependencies
run: mix deps.get

- name: Run Tests
run: mix test
12 changes: 12 additions & 0 deletions .github/workflows/version_bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 👉 Trigger Version Bump

on:
workflow_dispatch:

jobs:
create_version_bump_pr:
name: Create Version Bump PR
uses: box-id/github-actions-oss/.github/workflows/elixir_version_bump.yml@main
with:
version-prefix: "v"
secrets: inherit