Another feature
All checks were successful
release / release (push) Successful in 7s

This commit is contained in:
Tim Basten
2026-02-06 11:52:18 +08:00
parent 5dd6aeb737
commit 3ae14fb1fd
2 changed files with 48 additions and 26 deletions

View File

@@ -20,12 +20,15 @@ jobs:
- name: Install go-gitea/changelog - name: Install go-gitea/changelog
run: | run: |
go get github.com/go-gitea/changelog wget https://dl.gitea.com/changelog-tool/main/changelog-main-linux-amd64
chmod +x changelog-main-linux-amd64
sudo mv changelog-main-linux-amd64 /usr/local/bin/changelog
- name: Generate changelog - name: Generate changelog
id: changelog id: changelog
run: | run: |
changelog --config changelog.yml > CHANGELOG.md VERSION="${GITHUB_REF_NAME}"
changelog generate -m="${VERSION}" -c="changelog.yml" > CHANGELOG.md
echo "changelog<<EOF" >> $GITHUB_OUTPUT echo "changelog<<EOF" >> $GITHUB_OUTPUT
cat CHANGELOG.md >> $GITHUB_OUTPUT cat CHANGELOG.md >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT
@@ -37,4 +40,3 @@ jobs:
tag_name: ${{ gitea.ref_name }} tag_name: ${{ gitea.ref_name }}
name: ${{ gitea.ref_name }} name: ${{ gitea.ref_name }}
body: ${{ steps.changelog.outputs.changelog }} body: ${{ steps.changelog.outputs.changelog }}

View File

@@ -1,44 +1,64 @@
repo: go-gitea/gitea # The full repository name
repo: timmybee/test-release-merging
# Service type (gitea or github)
service: gitea
# Base URL for Gitea instance if using gitea service type (optional)
# Default: https://gitea.com
base-url:https://git.timmybee.xyz
# Changelog groups and which labeled PRs to add to each group
groups: groups:
- -
name: BREAKING name: BREAKING
labels: labels:
- kind/breaking - pr/breaking
- -
name: FEATURE name: FEATURES
labels: labels:
- kind/feature - type/feature
-
name: API
labels:
- modifies/api
- -
name: BUGFIXES name: BUGFIXES
labels: labels:
- kind/bug - type/bug
- -
name: ENHANCEMENT name: ENHANCEMENTS
labels: labels:
- kind/enhancement - type/enhancement
- kind/refactor - type/refactoring
- kind/ui - topic/ui
- topic/ui-interaction
- performance/speed
- -
name: SECURITY name: SECURITY
labels: labels:
- kind/security - topic/security
- -
name: TESTING name: TESTING
labels: labels:
- kind/testing - type/testing
- -
name: TRANSLATION name: TRANSLATION
labels: labels:
- kind/translation - modifies/translation
- -
name: BUILD name: BUILD
labels: labels:
- kind/build - topic/build
- kind/lint - topic/code-linting
- -
name: DOCS name: DOCS
labels: labels:
- kind/docs - type/docs
- modifies/docs
- -
name: MISC name: MISC
default: true default: true
# regex indicating which labels to skip for the changelog
skip-labels: skip-changelog|backport\/.+