Repository navigation
Stop Danger from posting empty reports - #337
Merged
Merged
Conversation
Update danger-pr-comment to 0.3.0, point the reusable workflows at the danger organization, and set `comment-empty: false` so the commenter no longer creates a "No issues found." comment on every PR. Existing report comments are still updated when findings clear. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Gr21htyJfr8XZGHBcPwkW
Contributor
Danger ReportNo issues found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Danger posts a "No issues found." comment on every PR (e.g. #336). danger-pr-comment 0.3.0 added a
comment-emptyinput for this.danger.ymlanddanger-comment.ymlatdanger/danger-pr-comment@v0.3.0(the project moved fromnumbatato thedangerorganization).comment-empty: falsein the commenter. Existing report comments are still updated to "No issues found." when findings clear, so stale results don't linger.actions: read,issues: write,pull-requests: write).danger-pr-commentgem to~> 0.3.0.Validation
bundle exec rakelocally on Ruby 4.0.9 with danger-pr-comment 0.3.0: 174 tests, 32 spinach steps, RuboCop clean.actionlintclean on both Danger workflows.danger-run.yml.Danger Commentis aworkflow_runworkflow, which always runs from the default branch, so this PR will still get a comment from the current v0.1.0 commenter;comment-empty: falsetakes effect on PRs opened after merge.🤖 Generated with Claude Code
https://claude.ai/code/session_011Gr21htyJfr8XZGHBcPwkW