1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Create news-file.yaml

This commit is contained in:
Andrey Bienkowski 2021-04-07 08:32:06 +00:00 committed by GitHub
parent 98fdc7a331
commit 80ebeb5a5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
.github/workflows/news-file.yaml vendored Normal file
View file

@ -0,0 +1,13 @@
on:
pull_request:
types: [labeled, unlabeled, opened, reopened, synchronize]
jobs:
check-news-file:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
# `towncrier check` needs enough history to run `git diff --name-only origin/main...`
fetch-depth: 0
- run: pipx run towncrier check --compare-with origin/main
if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'trivial')) }}