matthiasblaesing commented on pull request #2125:
URL: https://github.com/apache/netbeans/pull/2125#issuecomment-626386126


   I experimented also a bit and came up with this (implemented in java, but 
should be translateable to javascript):
   
   https://github.com/matthiasblaesing/github-action-test
   
https://github.com/matthiasblaesing/github-action-test/blob/master/src/main/java/eu/doppel_helix/github/action/sanitycheck/Main.java
   
   That implementation uses the github API to add a comment to the PR with the 
data summarizing the commit. The result can be seen here:
   
   https://github.com/matthiasblaesing/github-action-test/pull/4
   
   The drawback is, that a comment triggers a notification. This might be a way 
to reflect the real data of the commits. The check runs API might be a better 
fit for the use case, but I had not yet time to look deeper into that part of 
the github api.


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to