File sync from s4u/.github

This commit is contained in:
Github Action
2020-11-01 19:20:46 +00:00
parent e7ad595eea
commit f033cb9cb6
2 changed files with 45 additions and 0 deletions

30
.github/release-drafter.yml vendored Normal file
View File

@ -0,0 +1,30 @@
categories:
- title: 'New features'
labels:
- 'enhancement'
- title: 'Bug Fixes'
labels:
- 'bug'
- title: 'Maintenance'
label:
- 'code quality'
- 'documentation'
- title: 'Dependency updates'
label:
- 'dependencies'
change-template: '- $TITLE #$NUMBER'
sort-direction: 'ascending'
template: |
# What's Changed
$CHANGES
# Thanks
Many thanks for collaboration on this release for: $CONTRIBUTORS

15
.github/workflows/release-drafter.yml vendored Normal file
View File

@ -0,0 +1,15 @@
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:
- uses: release-drafter/release-drafter@v5.12.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}