gradle / gradle/actions

Remove, hide or update obsolete PR comments when adding a new one

Open
#176 6 comments 9 reactions 0 assignees View on GitHub
enhancement good first issue in:setup-gradle
Dominant language
TypeScript
Stars
340
Forks
117
Avg merge
1d 9h
Merged PRs (30d)
11

Description

>Given I set `add-job-summary-as-pr-comment: 'on-failure'`,
>And 'foo' job has failed leaving a PR comment with the failure
>When a later run of 'foo' succeeds

Then should the failure comment be removed? From what I gathered, that's not implemented, so I'm opening a discussion about it. Repro of current behavior: https://github.com/gabrielfeo/develocity-api-kotlin/pull/233

In my opinion, it'd be best to either remove the comment or update it with an OK sign and the latest (successful) build scan. When the job succeeds, the failure comment becomes outdated info.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.