We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 116e531 commit 96b0ef0Copy full SHA for 96b0ef0
.github/workflows/news-file.yml
@@ -15,5 +15,11 @@ jobs:
15
# `towncrier check` runs `git diff --name-only origin/main...`, which
16
# needs a non-shallow clone.
17
fetch-depth: 0
18
- - run: pipx run towncrier check --compare-with origin/${{ github.event.pull_request.base.ref }}
19
- if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'trivial')) }}
+
+ - name: Check news entry
20
+ if: "!contains(github.event.pull_request.labels.*.name, 'trivial')"
21
+ run: |
22
+ if ! pipx run towncrier check --compare-with origin/${{ github.base_ref }}; then
23
+ echo "Please https://pip.pypa.io/dev/news-entry-failure for guidance."
24
+ false
25
+ fi
0 commit comments