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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
776 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
2023-09-09 14:12:47 +03:00
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"
- uses: release-drafter/release-drafter@v6
2020-10-16 17:17:51 +03:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}