X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/125ed5b2601f0e74ded03b666132e3c37ae8af07..53a6216cd57955837e84f6ea82ca650c86320b03:/.github/workflows/changelog.yml?ds=inline diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 58a8c09..d7ee505 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -16,6 +16,6 @@ jobs: - name: Grep CHANGES.md for PR number if: contains(github.event.pull_request.labels.*.name, 'skip news') != true run: | - grep -Pz "PR( |\n\s*)#${{ github.event.pull_request.number }}[^0-9]" CHANGES.md || \ - (echo "Please add 'PR #${{ github.event.pull_request.number }}' change line to CHANGES.md" && \ + 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" && \ exit 1)