added release drafter workflow (#3362)
This commit is contained in:
43
.github/release-drafter.yml
vendored
Normal file
43
.github/release-drafter.yml
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
name-template: 'v$RESOLVED_VERSION'
|
||||
tag-template: 'v$RESOLVED_VERSION'
|
||||
categories:
|
||||
- title: 'Enhancements'
|
||||
labels:
|
||||
- 'feature request'
|
||||
- 'technical debt'
|
||||
- 'translation'
|
||||
- title: 'Fixed bugs'
|
||||
labels:
|
||||
- 'bug'
|
||||
exclude-labels:
|
||||
- 'duplicate'
|
||||
- 'invalid'
|
||||
- 'wontfix'
|
||||
exclude-contributors:
|
||||
- 'dependabot'
|
||||
- 'weblate'
|
||||
change-template: '- $TITLE (#$NUMBER) @$AUTHOR'
|
||||
change-title-escapes: '\<*_&`#@'
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- 'release'
|
||||
minor:
|
||||
labels:
|
||||
- 'feature request'
|
||||
patch:
|
||||
labels:
|
||||
- 'technical debt'
|
||||
- 'bug'
|
||||
- 'translation'
|
||||
default: patch
|
||||
template: |
|
||||
[Upgrade guide](https://www.kimai.org/documentation/updates.html) - [Installation docs](https://www.kimai.org/documentation/installation.html) - [Docker docs](https://tobybatch.github.io/kimai2/) - [Docker Hub](https://hub.docker.com/r/kimai/kimai2)
|
||||
|
||||
**PHP Version compatibility:**
|
||||
- PHP 7.3 is [end-of-life](https://www.php.net/supported-versions.php): you need to update now
|
||||
- PHP 7.4, PHP 8 and PHP 8.1 are supported
|
||||
|
||||
$CHANGES
|
||||
|
||||
Thanks to $CONTRIBUTORS
|
||||
30
.github/workflows/release-drafter.yaml
vendored
Normal file
30
.github/workflows/release-drafter.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Release Drafter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
correct_repository:
|
||||
permissions:
|
||||
contents: none
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: fail on fork
|
||||
if: github.repository_owner != 'kevinpapst'
|
||||
run: exit 1
|
||||
|
||||
update_release_draft:
|
||||
permissions:
|
||||
contents: write # for release-drafter/release-drafter to create a github release
|
||||
pull-requests: write # for release-drafter/release-drafter to add label to PR
|
||||
needs: correct_repository
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,5 +1,5 @@
|
||||
unreleased=true
|
||||
future-release=1.20
|
||||
exclude-labels=duplicate,support,question,invalid,wontfix,release,waiting for feedback,documentation
|
||||
enhancement_labels=>enhancement,Enhancement,feature request,translation i18n,technical debt,documentation
|
||||
enhancement_labels=>feature request,translation,technical debt,documentation
|
||||
issues-wo-labels=false
|
||||
|
||||
Reference in New Issue
Block a user