Pillow/.github/workflows/release-drafter.yml

29 lines
777 B
YAML
Raw Normal View History

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
workflow_dispatch:
2020-10-16 17:17:51 +03:00
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
2020-10-16 17:17:51 +03:00
jobs:
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
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 }}