diff --git a/.github/release-drafter-config.yml b/.github/release-drafter-config.yml new file mode 100644 index 00000000..5c7227a1 --- /dev/null +++ b/.github/release-drafter-config.yml @@ -0,0 +1,38 @@ +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: '🎁 μƒˆλ‘œμš΄ κΈ°λŠ₯이 μΆ”κ°€λ˜μ—ˆμ–΄μš”' + labels: ['🎁 feature'] + - title: '🐞 κΈ°μ‘΄ 버그가 μˆ˜μ •λ˜μ—ˆμ–΄μš”' + labels: ['🐞 fix'] + - title: '🐬 μ½”λ“œλ₯Ό κ°œμ„ ν–ˆμ–΄μš”' + labels: + - 'πŸ› οΈ refactor' + - 'πŸ§ͺ test' + - 'πŸͺ› chore' + - title: 'βš™οΈ ν”„λ‘œμ νŠΈλ₯Ό κ°œμ„ ν–ˆμ–΄μš”' + labels: + - 'πŸͺ„ setting' + - 'πŸ“š documentation' + - '🏭 environment' + - title: 'πŸš€ 배포' + labels: + - 'πŸš€ deployment' + +change-template: '- $TITLE #$NUMBER @$AUTHOR ' +template: | + ## 이번 λ²„μ „μ˜ 변경사항은 μ•„λž˜μ™€ κ°™μ•„μš” + --- + $CHANGES +no-changes-template: '변경사항이 μ—†μ–΄μš”' +version-resolver: + major: + labels: + - '1️⃣ major' + minor: + labels: + - '2️⃣ minor' + patch: + labels: + - '3️⃣ patch' + default: patch \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..1153c604 --- /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.ACTION_TOKEN }} \ No newline at end of file