]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
v4: Add Release Drafter (#30701)
authorMark Otto <markd.otto@gmail.com>
Fri, 1 May 2020 08:22:10 +0000 (01:22 -0700)
committerGitHub <noreply@github.com>
Fri, 1 May 2020 08:22:10 +0000 (11:22 +0300)
* Create release-drafter.yml
* Create release-notes.yml

.github/release-drafter.yml [new file with mode: 0644]
.github/workflows/release-notes.yml [new file with mode: 0644]

diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
new file mode 100644 (file)
index 0000000..6b58375
--- /dev/null
@@ -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
diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml
new file mode 100644 (file)
index 0000000..9f0f4f8
--- /dev/null
@@ -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 }}