From 8a0510e773a5d79156aab8c932dc5dcfb4f9db4d Mon Sep 17 00:00:00 2001 From: Frederic Leger Date: Mon, 26 Feb 2024 10:35:59 +0100 Subject: [PATCH] ci: add changelog categories --- .github/release-drafter.yml | 47 ++++++++++++++++++++++ .github/workflows/pull-request-labeler.yml | 3 +- 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index b1837f7..8334d0d 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -5,6 +5,53 @@ template: | name-template: "Version $RESOLVED_VERSION" tag-template: "$RESOLVED_VERSION" +categories: + - title: '๐Ÿš€ Features' + labels: + - 'feature' + - 'feat' + - title: '๐Ÿ› Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: '๐Ÿงฐ Maintenance' + label: 'chore' + - title: '๐Ÿ“š Documentation' + label: 'docs' + - title: '๐Ÿงช Tests' + label: 'test' + - title: '๐Ÿท๏ธ Version Tags' + label: 'version' + - title: '๐Ÿ”– Release Tags' + label: 'release' + - title: '๐Ÿงฉ Dependencies' + label: 'dependencies' + - title: '๐Ÿ”’ Security' + label: 'security' + - title: '๐Ÿšจ Breaking Changes' + label: 'breaking' + - title: '๐Ÿงน Code Cleanup' + label: 'cleanup' + - title: '๐Ÿ”ง Config' + label: 'config' + - title: '๐Ÿ“ฆ Packages' + label: 'package' + - title: '๐Ÿ”ฅ Removals' + label: 'removal' + - title: '๐Ÿšง Work In Progress' + label: 'wip' + - title: '๐Ÿ”€ Merges' + label: 'merge' + - title: '๐ŸŽจ Style' + label: 'style' + - title: '๐Ÿ”Š Logging' + label: 'logging' + - title: '๐Ÿ”‡ Silence' + label: 'silence' + - title: '๐Ÿค– CI/CD' + label: 'ci' + version-resolver: major: labels: diff --git a/.github/workflows/pull-request-labeler.yml b/.github/workflows/pull-request-labeler.yml index 7cc6a20..e0e5e27 100644 --- a/.github/workflows/pull-request-labeler.yml +++ b/.github/workflows/pull-request-labeler.yml @@ -8,8 +8,9 @@ permissions: contents: read jobs: + pull-request-labeler: - runs-on: "ubuntu-latest" + runs-on: self-hosted permissions: contents: write pull-requests: write