aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-04-14 11:12:46 -0700
committerGitHub <[email protected]>2020-04-14 11:12:46 -0700
commit33d08209f9de604e3262576581b312da92920801 (patch)
tree16f86109805537e4d1ad214e3fff9ebcabd19fa8 /.github
parent3a0fb1f7dcb17d082e2428f067692b436c947777 (diff)
parentfebdcefcd7d65b02b9d23807d7940b1e60053f43 (diff)
downloadbootstrap-33d08209f9de604e3262576581b312da92920801.tar.xz
bootstrap-33d08209f9de604e3262576581b312da92920801.zip
Merge pull request #30460 from twbs/release-drafter
Add Release Drafter Action
Diffstat (limited to '.github')
-rw-r--r--.github/release-drafter.yml28
-rw-r--r--.github/workflows/release-notes.yml14
2 files changed, 42 insertions, 0 deletions
diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
new file mode 100644
index 000000000..e76d3de10
--- /dev/null
+++ b/.github/release-drafter.yml
@@ -0,0 +1,28 @@
+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: '📖 Docs'
+ labels:
+ - 'docs'
+ - title: '📦 Dependencies'
+ labels:
+ - 'dependencies'
+ - title: '🧰 Maintenance'
+ label: 'chore'
+change-template: '- #$NUMBER: $TITLE'
+template: |
+ ## Changes
+ $CHANGES
diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml
new file mode 100644
index 000000000..1c9932b5e
--- /dev/null
+++ b/.github/workflows/release-notes.yml
@@ -0,0 +1,14 @@
+name: Release notes
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ update_release_draft:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: release-drafter/release-drafter@v5
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}