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
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ fix:
hotfix:
- head-branch: ["^hotfix/"]

refactor:
- head-branch: ["^refactor/"]

release:
- head-branch: ["^release/"]
35 changes: 35 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name-template: "v$RESOLVED_VERSION 🌈"
tag-template: "v$RESOLVED_VERSION"

categories:
- title: "🚀 Features"
labels:
- "feature"
- title: "🐛 Bug Fixes"
labels:
- "fix"
- "hotfix"
- title: "🔧 Refactoring"
label: "refactor"
- title: "📖 Documentation"
label: "documentation"

change-template: "- $TITLE @$AUTHOR (#$NUMBER)"

change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.

version-resolver:
major:
labels:
- "major"
minor:
labels:
- "minor"
patch:
labels:
- "patch"
default: patch

template: |
## Changes
$CHANGES
1 change: 1 addition & 0 deletions .github/workflows/publish-devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=sha,prefix={{branch}}-
type=raw,value=latest,enable={{is_default_branch}}
labels: |
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Create Release 🚀

on:
pull_request:
types: [closed]
branches:
- main

jobs:
create-release:
name: Create Release
if: github.event.pull_request.merged == true && contains(github.head_ref, 'release/')

runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: read

steps:
- name: Checkout
uses: actions/checkout@v6

- uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter.yml
disable-autolabeler: true
name: Release ${{ env.VERSION }}
publish: true
tag: ${{ env.VERSION }}
version: ${{ env.VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.event.pull_request.title }}
1 change: 1 addition & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"anyio",
"apdisk",
"autoflake",
"autolabeler",
"buildkit",
"buildx",
"caplog",
Expand Down
Loading