0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

v4: Add Release Drafter (#30701)

* Create release-drafter.yml
* Create release-notes.yml
This commit is contained in:
Mark Otto 2020-05-01 01:22:10 -07:00 committed by GitHub
parent e344ed4446
commit f93e58eddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 54 additions and 0 deletions

40
.github/release-drafter.yml vendored Normal file
View File

@ -0,0 +1,40 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
prerelease: true
exclude-labels:
- 'skip-changelog'
categories:
- title: '🚀 Features'
labels:
- 'new-feature'
- 'feature'
- 'enhancement'
- title: '🐛 Bug fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🎨 CSS'
labels:
- 'css'
- title: '☕️ JavaScript'
labels:
- 'js'
- title: '📖 Docs'
labels:
- 'docs'
- title: '🌎 Accessibility'
labels:
- 'accessibility'
- title: '🧰 Misc'
labels:
- 'build'
- 'meta'
- 'chore'
- title: '📦 Dependencies'
labels:
- 'dependencies'
change-template: '- #$NUMBER: $TITLE'
template: |
## Changes
$CHANGES

14
.github/workflows/release-notes.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Release notes
on:
push:
branches:
- v4-dev
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}