gradle / gradle-build-action

Execute your Gradle build and trigger dependency submission
https://github.com/marketplace/actions/gradle-build-action
MIT License
671 stars 97 forks source link

Allow Job Summary to be automatically added as a PR comment #1020

Closed bigdaz closed 9 months ago

bigdaz commented 9 months ago

The Job Summary content contains Build Scan links as well as other interesting information.

It should be easy to have this content automatically added as a PR comment. Currently, our documentation provides an example with build scan links only, but this mechanism requires additional step(s) and significant workflow alterations.

This feature will permit the entire Job Summary being added as a PR comment, with options being 'never', 'always' and 'on-failure'. The latter will apply if a Gradle build execution has failed during the Job.