Mention "skip news" label in CHANGELOG action (#2797)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu 2022-01-22 07:30:18 -08:00 committed by GitHub
parent 811de5f36b
commit b3b341b44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,5 +17,5 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'skip news') != true
run: |
grep -Pz "\((\n\s*)?#${{ github.event.pull_request.number }}(\n\s*)?\)" CHANGES.md || \
(echo "Please add '(#${{ github.event.pull_request.number }})' change line to CHANGES.md" && \
(echo "Please add '(#${{ github.event.pull_request.number }})' change line to CHANGES.md (or if appropriate, ask a maintainer to add the 'skip news' label)" && \
exit 1)