summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTzu-ping Chung <uranusjr@gmail.com>2021-08-15 11:25:53 +0800
committerGitHub <noreply@github.com>2021-08-15 11:25:53 +0800
commitd8fba8d95a694af08f02484ec2d373585426b144 (patch)
tree77bfc1db68b42b0ccb2b28f685051effb6b0505e /.github
parentf51895867a4965129d0f23655bce01383de41d27 (diff)
parentd734eb98622b9f4db8f5dfced503366c6378ccff (diff)
downloadpip-d8fba8d95a694af08f02484ec2d373585426b144.tar.gz
Merge pull request #9785 from hexagonrecursion/main
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/news-file.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/news-file.yaml b/.github/workflows/news-file.yaml
new file mode 100644
index 000000000..0e219871a
--- /dev/null
+++ b/.github/workflows/news-file.yaml
@@ -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')) }}