[ 
https://issues.apache.org/jira/browse/IGNITE-29352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anton Vinogradov updated IGNITE-29352:
--------------------------------------
    Description: 
Show the result of the check in one PR comment, so the author sees what to 
change and the reviewer what to check.

h3. Scope
* A {{workflow_run}} job with a token that can write to PRs. It never runs PR 
code and validates {{result.json}} as untrusted data.
* 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.
* A newer run for the same commit of the same PR publishes instead of an older 
one.

h3. Done when
* The comment flow is tested with stubs of the GitHub API and on a private 
stand repository.

Depends on IGNITE-29351. Prototype: [PR 
#13867|https://github.com/apache/ignite/pull/13867], {{check/publish.js}}.

  was:
Show the result of the check in one PR comment, so the author sees what to 
change and the reviewer what to check.

h3. Scope
* A {{workflow_run}} job with a token that can write to PRs. It never runs PR 
code and validates {{result.json}} as untrusted data.
* 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.
* A newer run for the same commit of the same PR publishes instead of an older 
one.

h3. Done when
* The comment flow is tested with stubs of the GitHub API and on a private 
stand repository.

Depends on the pipeline task. Prototype: [PR 
#13867|https://github.com/apache/ignite/pull/13867], {{check/publish.js}}.


> Public behavior check: comment on the PR
> ----------------------------------------
>
>                 Key: IGNITE-29352
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29352
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Anton Vinogradov
>            Priority: Major
>
> Show the result of the check in one PR comment, so the author sees what to 
> change and the reviewer what to check.
> h3. Scope
> * A {{workflow_run}} job with a token that can write to PRs. It never runs PR 
> code and validates {{result.json}} as untrusted data.
> * 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.
> * A newer run for the same commit of the same PR publishes instead of an 
> older one.
> h3. Done when
> * The comment flow is tested with stubs of the GitHub API and on a private 
> stand repository.
> Depends on IGNITE-29351. Prototype: [PR 
> #13867|https://github.com/apache/ignite/pull/13867], {{check/publish.js}}.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to