anton-vinogradov opened a new pull request, #13901:
URL: https://github.com/apache/ignite/pull/13901

   Shows the result of the "Public behavior changes" check in one PR comment, 
so the author sees what to change and the reviewer what to check.
   
   - The PR job writes the result to `result.json` and uploads it. Before 
writing, it cuts the result to the limits of the file and validates it.
   - A new `workflow_run` job, `public-behavior-changes-comment.yml`, runs the 
code of the target branch with a token that can write to PRs. It never runs PR 
code: it reads `result.json` as untrusted data, validates it and renders the 
comment itself.
   - One bot comment per PR. It is replaced only when the result changes and 
says when all earlier issues are resolved. A clean PR gets no comment.
   - Only the result for the current head of the PR publishes. A late run for 
an older commit does not replace the comment, and of two runs for the same 
commit the newer one publishes, unless it was cancelled.
   - The comment shows the first 100 lines of changes and links the check 
summary. The largest result that passes validation fits in one GitHub comment.
   
   The comment job runs from the target branch, so it starts working after the 
merge. See `.github/public-behavior/README.md`.
   
   https://issues.apache.org/jira/browse/IGNITE-29352
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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]

Reply via email to