ci: Adding release-drafter back (#7072)
This commit is contained in:
parent
5fe83b6716
commit
fc1083a8d4
52
.github/release-drafter-template.yml
vendored
Normal file
52
.github/release-drafter-template.yml
vendored
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
name-template: "Release v$RESOLVED_VERSION 🌈"
|
||||
tag-template: "v$RESOLVED_VERSION"
|
||||
categories:
|
||||
- title: "🚀 Features"
|
||||
labels:
|
||||
- "Enhancement"
|
||||
- title: "🐛 Bug Fixes"
|
||||
labels:
|
||||
- "Bug"
|
||||
|
||||
# Only include the following labels in the release notes. All other labels are ignored.
|
||||
include-labels:
|
||||
- "Enhancement"
|
||||
- "Bug"
|
||||
|
||||
change-template: "- $TITLE (#$NUMBER)"
|
||||
|
||||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
|
||||
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- "Major"
|
||||
minor:
|
||||
labels:
|
||||
- "Minor"
|
||||
patch:
|
||||
labels:
|
||||
- "Patch"
|
||||
default: patch
|
||||
|
||||
template: |
|
||||
## What's new?
|
||||
|
||||
$CHANGES
|
||||
|
||||
# The below configurations will label our PRs automatically
|
||||
# autolabeler:
|
||||
# - label: "Chore"
|
||||
# title:
|
||||
# - "/chore/i"
|
||||
# - "/docs/i"
|
||||
# - label: "Test"
|
||||
# title:
|
||||
# - "/test/i"
|
||||
# - label: "Bug"
|
||||
# title:
|
||||
# - "/fix/i"
|
||||
# - label: "Enhancement"
|
||||
# title:
|
||||
# - '/feature\/.+/'
|
||||
# - "/feat/i"
|
||||
29
.github/workflows/release-drafter.yml
vendored
Normal file
29
.github/workflows/release-drafter.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
name: Release Drafter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- release
|
||||
# Only trigger if files have changed in this specific path
|
||||
paths:
|
||||
- "app/client/**"
|
||||
- "app/server/**"
|
||||
- "app/rts/**"
|
||||
|
||||
# pull_request event is required only for autolabeler
|
||||
# pull_request:
|
||||
# types: [opened, reopened, synchronize]
|
||||
# branches: [release]
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Drafts your next Release notes as Pull Requests are merged into "master"
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
with:
|
||||
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
|
||||
config-name: release-drafter-template.yml
|
||||
disable-autolabeler: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Reference in New Issue
Block a user