diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..d7fd83a --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,37 @@ +# 이 파일은 release note 작성에 사용되는 파일입니다. + +name-template: '@yourssu/design-system-react@$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: '🆕 새로운 기능이 추가되었어요!' + label: 'feat' + - title: '🐞 자잘한 버그를 수정했습니다.' + labels: + - 'bug' + - 'fix' + - title: '🫶🏻 사용성 개선에 힘썼습니다.' + label: 'docs' + - title: '🛠️ 더 나은 코드를 위해 노력하고 있습니다.' + labels: + - 'refactor' + - 'chore' + - title: 'ETC' + labels: + - '*' +change-template: '* $TITLE (#$NUMBER) by @$AUTHOR' +change-title-escapes: '\<*_&#@`' +exclude-labels: + - 'Main' +version-resolver: + major: + labels: + - 'Major' + minor: + labels: + - 'Minor' + patch: + labels: + - 'Patch' + default: patch +template: | + $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..9867c25 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,21 @@ +name: Release Drafter + +on: + push: + branches: + - main + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + with: + config-name: release.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}