| @@ -13,8 +13,6 @@ body: | |||||
| - type: textarea | - type: textarea | ||||
| id: contribution | id: contribution | ||||
| validations: | |||||
| required: true | |||||
| attributes: | attributes: | ||||
| label: 你的贡献 | label: 你的贡献 | ||||
| description: | | description: | | ||||
| @@ -14,8 +14,6 @@ body: | |||||
| - type: textarea | - type: textarea | ||||
| id: contribution | id: contribution | ||||
| validations: | |||||
| required: true | |||||
| attributes: | attributes: | ||||
| label: Your Contribution | label: Your Contribution | ||||
| description: | | description: | | ||||
| @@ -0,0 +1,24 @@ | |||||
| name-template: 'v$RESOLVED_VERSION 🌈' | |||||
| tag-template: 'v$RESOLVED_VERSION' | |||||
| categories: | |||||
| - title: '\U0001F680 New Feature' | |||||
| labels: | |||||
| - 'feature' | |||||
| - 'enhancement' | |||||
| - title: '\U0001F41B Fixed Bug' | |||||
| labels: | |||||
| - 'fix' | |||||
| - 'bugfix' | |||||
| - 'bug' | |||||
| - title: '\U0001F4D6 Documentation' | |||||
| label: | |||||
| - 'doc' | |||||
| - 'documentation' | |||||
| - title: '\U0001F9F9 Maintenance' | |||||
| label: | |||||
| - 'maintenance' | |||||
| change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | |||||
| template: | | |||||
| ## Changes | |||||
| $CHANGES | |||||
| @@ -0,0 +1,16 @@ | |||||
| name: Release Drafter | |||||
| on: | |||||
| push: | |||||
| # branches to consider in the event; optional, defaults to all | |||||
| branches: | |||||
| - main | |||||
| jobs: | |||||
| update_release_draft: | |||||
| runs-on: ubuntu-latest | |||||
| steps: | |||||
| # Drafts your next Release notes as Pull Requests are merged into "main" | |||||
| - uses: release-drafter/release-drafter@v5.11.0 | |||||
| env: | |||||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |||||