mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-29 22:48:15 +02:00
deployment: add release drafter (#398)
This commit is contained in:
parent
e5b13a9bf6
commit
4fb8c75a27
2 changed files with 47 additions and 0 deletions
31
.github/release-drafter.yml
vendored
Normal file
31
.github/release-drafter.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name-template: v$NEXT_MINOR_VERSION
|
||||||
|
tag-template: v$NEXT_MINOR_VERSION
|
||||||
|
categories:
|
||||||
|
- title: New
|
||||||
|
labels:
|
||||||
|
- enhancement
|
||||||
|
- feature
|
||||||
|
- improvement
|
||||||
|
- title: Fixed
|
||||||
|
label: bug
|
||||||
|
- title: Removed
|
||||||
|
label: removed
|
||||||
|
- title: Documentation
|
||||||
|
label: docs
|
||||||
|
- title: Depedency
|
||||||
|
label: depedency
|
||||||
|
- title: Breaking
|
||||||
|
label: breaking
|
||||||
|
exclude-labels:
|
||||||
|
- no-changelog
|
||||||
|
|
||||||
|
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
|
||||||
|
template: |
|
||||||
|
|
||||||
|
<!-- Optional: add a release summary here -->
|
||||||
|
## Changes
|
||||||
|
$CHANGES
|
||||||
|
|
||||||
|
replacers:
|
||||||
|
- search: '/CVE-(\d{4})-(\d+)/g'
|
||||||
|
replace: "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-$1-$2"
|
16
.github/workflows/release-drafter.yml
vendored
Normal file
16
.github/workflows/release-drafter.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: Release Drafter
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
# branches to consider in the event; optional, defaults to all
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_release_draft:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
# Drafts your next Release notes as Pull Requests are merged into "master"
|
||||||
|
- uses: toolmantim/release-drafter@v5.2.0
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue