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
4 changed files with 52 additions and 13 deletions

View File

@@ -71,6 +71,10 @@ export function isJobSummaryEnabled(): boolean {
return getBooleanInput('generate-job-summary', true)
}
export function isPRCommentEnabled(): boolean {
return getBooleanInput('add-pr-comment', false)
}
export function isDependencyGraphEnabled(): boolean {
return getBooleanInput('generate-dependency-graph', true)
}