X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5d33f20a2a2c85cfb521ae9c5f9254bfe9fc2fd9..9451c57d1c60d70ddd55e21b44382ca96637398e:/.github/workflows/changelog.yml diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 434950d..58a8c09 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 -P "PR #${{ github.event.pull_request.number }}[^0-9]" CHANGES.md || \ + 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" && \ exit 1)