mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 18:28:12 +08:00
Adds release drafter
This commit is contained in:
Executable
+36
@@ -0,0 +1,36 @@
|
|||||||
|
categories:
|
||||||
|
-
|
||||||
|
label: breaking
|
||||||
|
title: Breaking
|
||||||
|
-
|
||||||
|
label: feature
|
||||||
|
title: New
|
||||||
|
-
|
||||||
|
label: bug
|
||||||
|
title: "Bug Fixes"
|
||||||
|
-
|
||||||
|
label: dependencies
|
||||||
|
title: "Dependency Updates"
|
||||||
|
-
|
||||||
|
label: security
|
||||||
|
title: Security
|
||||||
|
name-template: v$NEXT_PATCH_VERSION
|
||||||
|
tag-template: v$NEXT_PATCH_VERSION
|
||||||
|
template: |
|
||||||
|
$CHANGES
|
||||||
|
version-resolver:
|
||||||
|
major:
|
||||||
|
labels:
|
||||||
|
- breaking
|
||||||
|
- major
|
||||||
|
minor:
|
||||||
|
labels:
|
||||||
|
- feature
|
||||||
|
- minor
|
||||||
|
patch:
|
||||||
|
labels:
|
||||||
|
- bug
|
||||||
|
- dependencies
|
||||||
|
- security
|
||||||
|
- patch
|
||||||
|
default: patch
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
name: Update release draft
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
update_release_draft:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: release-drafter/release-drafter@v5
|
||||||
|
with:
|
||||||
|
config-name: release-drafter.yml
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user