release-drafter.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. prerelease: true
  2. # Filter previous releases to consider target_commitish
  3. include-pre-releases: true
  4. filter-by-commitish: true
  5. categories:
  6. - title: 'BREAKING CHANGES'
  7. labels:
  8. - 'type/breaking'
  9. - title: '💎 Features'
  10. labels:
  11. - 'type/feature'
  12. - title: '🚀 Improvement'
  13. labels:
  14. - 'type/improvement'
  15. - title: '🐛 Bug Fixes'
  16. labels:
  17. - 'type/bug'
  18. - title: '🧰 Maintenance'
  19. labels:
  20. - 'type/support'
  21. - 'type/dependencies'
  22. category-template: '### $TITLE'
  23. change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
  24. autolabeler:
  25. - label: 'type/feature'
  26. branch:
  27. - '/^feat\/.+/'
  28. - label: 'type/improvement'
  29. branch:
  30. - '/^imprv\/.+/'
  31. - label: 'type/bug'
  32. branch:
  33. - '/^fix\/.+/'
  34. title:
  35. - '/^fix/i'
  36. - label: 'type/support'
  37. branch:
  38. - '/^support\/.+/'
  39. title:
  40. - '/^support/i'
  41. - '/^chore/i'
  42. - '/^ci/i'
  43. - '/^docs/i'
  44. - '/^test/i'
  45. include-labels:
  46. - type/breaking
  47. - type/feature
  48. - type/improvement
  49. - type/bug
  50. - type/support
  51. - type/dependencies
  52. exclude-labels:
  53. - 'flag/exclude-from-changelog'
  54. template: |
  55. $CHANGES