From 0c9d42dcb6cbabdfbea4220b22f2a6001b8fde90 Mon Sep 17 00:00:00 2001 From: doji Date: Fri, 10 Nov 2023 13:03:05 +0900 Subject: [PATCH] release drafter --- .github/workflows/release-drafter-config.yml | 33 ++++++++++++++++++++ .github/workflows/release-drafter.yml | 14 +++++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/workflows/release-drafter-config.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/workflows/release-drafter-config.yml b/.github/workflows/release-drafter-config.yml new file mode 100644 index 0000000..0ed1e2d --- /dev/null +++ b/.github/workflows/release-drafter-config.yml @@ -0,0 +1,33 @@ +name-template: 'πŸš€ v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: 'πŸš€ Features' + labels: + - 'feature' + - title: 'πŸ› Bug Fixes' + labels: + - 'fix' + - title: '🧰 Maintenance' + labels: + - 'test' + - 'style' + - 'refactor' + +change-template: '- $TITLE (#$NUMBER) @$AUTHOR ' +change-title-escapes: '\<*_&' +version-resolver: + major: + labels: + - 'major' + minor: + labels: + - 'minor' + patch: + labels: + - 'patch' + default: patch +template: | + ## πŸš€ 이번 λ²„μ „μ—μ„œλŠ” μ–΄λ–€ 게 λ°”λ€Œμ—ˆμ„κΉŒμš”? + --- + $CHANGES +no-changes-template: 'μ•—! 변경사항이 μ—†μ–΄μš”. πŸ˜–' diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..d5430cd --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,14 @@ +name: Release Drafter +on: + push: + branches: + - main +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + with: + config-name: release-drafter-config.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}