Automatically add Job Summary as PR comment

Rather than requiring a separate step to add a PR comment,
the `gradle-build-action` can now automatically add the Job Summary
as a PR comment

Fixes #1020
This commit is contained in:
daz 2024-01-01 11:58:02 -07:00
parent 24e9e9dc6b
commit 34a07dced0
No known key found for this signature in database
4 changed files with 52 additions and 13 deletions

View file

@ -63,6 +63,11 @@ inputs:
required: false
default: true
add-pr-comment:
description: When 'true', a summary of the Gradle builds will be added as a PR comment. No action will be taken if the workflow was not triggered from a pull request.
required: false
default: false
dependency-graph:
description: Specifies if a GitHub dependency snapshot should be generated for each Gradle build, and if so, how. Valid values are 'disabled' (default), 'generate', 'generate-and-submit', 'generate-and-upload' and 'download-and-submit'.
required: false