Yuki Takei 4 лет назад
Родитель
Сommit
dc0035979c
3 измененных файлов с 50 добавлено и 0 удалено
  1. 3 0
      .github/git-pr-release-template.erb
  2. 41 0
      .github/release-drafter.yml
  3. 6 0
      bump-versions.config.js

+ 3 - 0
.github/git-pr-release-template.erb

@@ -0,0 +1,3 @@
+<%= ENV['GIT_PR_RELEASE_TITLE'] %>
+
+<%= ENV['GIT_PR_RELEASE_BODY'] %>

+ 41 - 0
.github/release-drafter.yml

@@ -0,0 +1,41 @@
+categories:
+  - title: 'BREAKING CHANGES'
+    labels:
+      - 'breaking'
+  - title: '💎 Features'
+    labels:
+      - 'feature'
+  - title: '🚀 Improvement'
+    labels:
+      - 'improvement'
+  - title: '🐛 Bug Fixes'
+    labels:
+      - 'bug'
+  - title: '🧰 Maintenance'
+    labels:
+      - 'chore'
+      - 'support'
+      - 'dependencies'
+category-template: '### $TITLE'
+change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
+autolabeler:
+  - label: 'feature'
+    branch:
+      - '/feat\/.+/'
+  - label: 'improvement'
+    branch:
+      - '/imprv\/.+/'
+  - label: 'bug'
+    branch:
+      - '/fix\/.+/'
+    title:
+      - '/fix/i'
+  - label: 'support'
+    branch:
+      - '/support\/.+/'
+exclude-labels:
+  - 'exclude from changelog'
+template: |
+  ### Changes
+
+  $CHANGES

+ 6 - 0
bump-versions.config.js

@@ -0,0 +1,6 @@
+module.exports = {
+  monorepo: {
+    mainVersionFile: 'package.json',
+    packagesToBump: ['packages/app', 'packages/common'],
+  },
+};