pseudo-nymous opened a new pull request, #14279:
URL: https://github.com/apache/lucene/pull/14279
### Description
Adds github action workflow to verify change log entry and set milestone
based on the location of change log entry.
This workflow does the following step by step:
1. Check if the top comment has an escape hatch ("\_\_NA\_\_") to skip the
further steps. This is helpful for case where change log entry is not required.
2. Verifies if there is an entry in change log file (lucene/CHANGES.txt).
3. Extracts the milestone version based on the location of the change log
entry.
4. Checks if the milestone exist in github then applies (adds/updates) the
milestone version to the PR.
5. Flags if milestone version do not exist. Currently, we are only logging
it. We can either add a comment to create the milestone or create one
automatically if a new banner is created (=== Lucene XXX ===) under change log
file.
Currently, I have only added logs in the action workflow testing all the
flow. It's not blocking the merging process.
We can make it blocking based on the discussion in this PR.
Tested changes here: https://github.com/pseudo-nymous/lucene/pull/13
Closes: https://github.com/apache/lucene/issues/13898
https://github.com/apache/lucene/issues/14190
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]