Skip to content

Commit 0ea423e

Browse files
authored
Enable PR actions in changelog verifier (#14644)
1 parent 36b3577 commit 0ea423e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/verify-changelog-and-set-milestone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
echo "Diff:"
5959
if git diff --exit-code --name-only $BASE_COMMIT HEAD -- ${{ env.CHANGE_LOG_FILE }}; then
6060
echo "Change log file:${{ env.CHANGE_LOG_FILE }} does not contains an entry corresponding to changes introduced in PR. Please add a changelog entry."
61+
gh pr comment ${{ github.event.number }} --body "This PR does not have an entry in lucene/CHANGES.txt. Consider adding one."
6162
exit 0
6263
else
6364
echo "${{ env.CHANGE_LOG_FILE }} contains change log entry. Proceeding with next steps."
@@ -117,6 +118,5 @@ jobs:
117118
echo "Milestone:${lucene_version} does not exist. Please create the milestone and run the workflow again."
118119
exit 0
119120
fi
120-
# Will uncomment this line after we ensure it runs perfectly in production.
121-
# gh pr edit ${{ github.event.number }} --milestone "${lucene_version}"
122121
echo "Adding/Updating milestone for the PR to:${lucene_version}"
122+
gh pr edit ${{ github.event.number }} --milestone "${lucene_version}"

0 commit comments

Comments
 (0)