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:
parent
98fdc7a331
commit
80ebeb5a5c
1 changed files with 13 additions and 0 deletions
13
.github/workflows/news-file.yaml
vendored
Normal file
13
.github/workflows/news-file.yaml
vendored
Normal 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')) }}
|
Loading…
Reference in a new issue