mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 08:14:13 +03:00
Add GitHub action to draft releases notes
This commit is contained in:
parent
7a435b3d4a
commit
4ab97dd5a4
30
.github/release-drafter.yml
vendored
Normal file
30
.github/release-drafter.yml
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
categories:
|
||||
- title: 'Breaking Changes'
|
||||
labels:
|
||||
- 'breaking'
|
||||
- title: 'Major Changes'
|
||||
labels:
|
||||
- 'major'
|
||||
- title: 'Minor Changes'
|
||||
labels:
|
||||
- 'enhancement'
|
||||
- title: 'Bugfixes'
|
||||
labels:
|
||||
- 'bug'
|
||||
- title: 'Removals'
|
||||
labels:
|
||||
- 'removed'
|
||||
- title: 'Documentation updates'
|
||||
labels:
|
||||
- 'docs'
|
||||
- title: 'Dependencies updates'
|
||||
labels:
|
||||
- 'update'
|
||||
|
||||
exclude-labels:
|
||||
- 'skip-changelog'
|
||||
|
||||
template: |
|
||||
## Changes
|
||||
|
||||
$CHANGES
|
14
.github/workflows/draft-release.yml
vendored
Normal file
14
.github/workflows/draft-release.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: Release Drafter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
release_notes:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user