mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 13:14:27 +03:00
Merge pull request #5058 from hugovk/add-release-drafter
Add Release Drafter to draft releases
This commit is contained in:
commit
997ec657b3
14
.github/release-drafter.yml
vendored
Normal file
14
.github/release-drafter.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name-template: "$NEXT_MINOR_VERSION"
|
||||||
|
tag-template: "$NEXT_MINOR_VERSION"
|
||||||
|
change-template: '- $TITLE #$NUMBER [@$AUTHOR]'
|
||||||
|
|
||||||
|
exclude-labels:
|
||||||
|
- "changelog: skip"
|
||||||
|
|
||||||
|
template: |
|
||||||
|
|
||||||
|
https://pillow.readthedocs.io/en/stable/releasenotes/$NEXT_MINOR_VERSION.html
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
$CHANGES
|
17
.github/workflows/release-drafter.yml
vendored
Normal file
17
.github/workflows/release-drafter.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: Release drafter
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
# branches to consider in the event; optional, defaults to all
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_release_draft:
|
||||||
|
if: github.repository == 'python-pillow/Pillow'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
# Drafts your next release notes as pull requests are merged into "master"
|
||||||
|
- uses: release-drafter/release-drafter@v5
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user