diff --git a/.github/workflows/require-changelog-for-PRs.yml b/.github/workflows/require-changelog-for-PRs.yml index e16ec5f82e..afa12dec8c 100644 --- a/.github/workflows/require-changelog-for-PRs.yml +++ b/.github/workflows/require-changelog-for-PRs.yml @@ -18,4 +18,5 @@ jobs: - name: Search for added line in changelog run: | ADDED=$(git diff -U0 "origin/${PR_BASE}" HEAD -- CHANGELOG.md | grep -P '^\+[^\+].+$') + echo "$ADDED" grep "#${PR_NUMBER}\\b.*@{PR_SUBMITTER}\\b" <<< "$ADDED"