mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-17 04:56:34 +02:00
eb17194ff3
* Add release management github action * Simplify PR template * Add chore to PR template * Simplify labels * Add housekeeping label * Add refactor label
37 lines
956 B
YAML
37 lines
956 B
YAML
name: Release Management
|
|
|
|
on:
|
|
push:
|
|
# branches to consider in the event; optional, defaults to all
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
update-draft-release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: toolmantim/release-drafter@v5.2.0
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
name-template: 'v$NEXT_PATCH_VERSION 🌈'
|
|
tag-template: 'v$NEXT_PATCH_VERSION'
|
|
categories:
|
|
- title: '🚨 Breaking changes'
|
|
labels:
|
|
- 'breaking change'
|
|
- title: '🚀 Features'
|
|
labels:
|
|
- 'feature'
|
|
- 'enhancement'
|
|
- title: '🐛 Bug Fixes'
|
|
labels:
|
|
- 'bugfix'
|
|
- title: '🔧 Maintenance'
|
|
labels:
|
|
- 'chore'
|
|
- 'housekeeping'
|
|
- 'refactor'
|
|
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
|
template: |
|
|
$CHANGES
|