Skip to content

Commit 4b99afb

Browse files
authored
Merge pull request #147 from a5chin/release/v0.0.0
v0.0.0
2 parents 98f02bf + 264275c commit 4b99afb

File tree

5 files changed

+74
-0
lines changed

5 files changed

+74
-0
lines changed

.github/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@ fix:
1111
hotfix:
1212
- head-branch: ["^hotfix/"]
1313

14+
refactor:
15+
- head-branch: ["^refactor/"]
16+
1417
release:
1518
- head-branch: ["^release/"]

.github/release-drafter.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name-template: "v$RESOLVED_VERSION 🌈"
2+
tag-template: "v$RESOLVED_VERSION"
3+
4+
categories:
5+
- title: "🚀 Features"
6+
labels:
7+
- "feature"
8+
- title: "🐛 Bug Fixes"
9+
labels:
10+
- "fix"
11+
- "hotfix"
12+
- title: "🔧 Refactoring"
13+
label: "refactor"
14+
- title: "📖 Documentation"
15+
label: "documentation"
16+
17+
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
18+
19+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
20+
21+
version-resolver:
22+
major:
23+
labels:
24+
- "major"
25+
minor:
26+
labels:
27+
- "minor"
28+
patch:
29+
labels:
30+
- "patch"
31+
default: patch
32+
33+
template: |
34+
## Changes
35+
$CHANGES

.github/workflows/publish-devcontainer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4444
tags: |
4545
type=ref,event=branch
46+
type=semver,pattern={{version}}
4647
type=sha,prefix={{branch}}-
4748
type=raw,value=latest,enable={{is_default_branch}}
4849
labels: |
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Create Release 🚀
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
branches:
7+
- main
8+
9+
jobs:
10+
create-release:
11+
name: Create Release
12+
if: github.event.pull_request.merged == true && contains(github.head_ref, 'release/')
13+
14+
runs-on: ubuntu-latest
15+
16+
permissions:
17+
contents: write
18+
pull-requests: read
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v6
23+
24+
- uses: release-drafter/release-drafter@v6
25+
with:
26+
config-name: release-drafter.yml
27+
disable-autolabeler: true
28+
name: Release ${{ env.VERSION }}
29+
publish: true
30+
tag: ${{ env.VERSION }}
31+
version: ${{ env.VERSION }}
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
VERSION: ${{ github.event.pull_request.title }}

.vscode/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"anyio",
1010
"apdisk",
1111
"autoflake",
12+
"autolabeler",
1213
"buildkit",
1314
"buildx",
1415
"caplog",

0 commit comments

Comments
 (0)