2020-10-16 17:17:51 +03:00
|
|
|
name: Release drafter
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
# branches to consider in the event; optional, defaults to all
|
|
|
|
branches:
|
2021-10-15 17:30:05 +03:00
|
|
|
- main
|
2021-11-30 23:14:34 +03:00
|
|
|
workflow_dispatch:
|
2020-10-16 17:17:51 +03:00
|
|
|
|
2022-07-04 04:19:58 +03:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2023-09-09 14:12:47 +03:00
|
|
|
concurrency:
|
2022-09-26 15:16:33 +03:00
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-10-16 17:17:51 +03:00
|
|
|
jobs:
|
|
|
|
update_release_draft:
|
2022-07-04 04:19:58 +03:00
|
|
|
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
|
2020-10-16 17:17:51 +03:00
|
|
|
if: github.repository == 'python-pillow/Pillow'
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-10-15 17:30:05 +03:00
|
|
|
# Drafts your next release notes as pull requests are merged into "main"
|
2020-10-16 17:17:51 +03:00
|
|
|
- uses: release-drafter/release-drafter@v5
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|