Skip to content

Stop Danger from posting empty reports - #337

Merged
dblock merged 1 commit into
codegram:masterfrom
dblock:dblock/danger-skip-empty
Nov 22, 2026
Merged

dblock merged 1 commit into
codegram:masterfrom
dblock:dblock/danger-skip-empty

Conversation

@dblock

@dblock dblock commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 This PR was written by an AI (Claude) acting on behalf of @dblock.

Danger posts a "No issues found." comment on every PR (e.g. #336). danger-pr-comment 0.3.0 added a comment-empty input for this.

  • Point danger.yml and danger-comment.yml at danger/danger-pr-comment@v0.3.0 (the project moved from numbata to the danger organization).
  • Set comment-empty: false in the commenter. Existing report comments are still updated to "No issues found." when findings clear, so stale results don't linger.
  • Add the commenter permissions from the upstream README (actions: read, issues: write, pull-requests: write).
  • Update the danger-pr-comment gem to ~> 0.3.0.

Validation

  • bundle exec rake locally on Ruby 4.0.9 with danger-pr-comment 0.3.0: 174 tests, 32 spinach steps, RuboCop clean.
  • actionlint clean on both Danger workflows.
  • The Danger run on this PR exercises the 0.3.0 danger-run.yml. Danger Comment is a workflow_run workflow, which always runs from the default branch, so this PR will still get a comment from the current v0.1.0 commenter; comment-empty: false takes effect on PRs opened after merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_011Gr21htyJfr8XZGHBcPwkW

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
@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Danger Report

No issues found.

View run

@dblock
dblock merged commit 0eda9e4 into codegram:master Nov 22, 2026
11 checks passed
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 99.701%. remained the same — dblock:dblock/danger-skip-empty into codegram:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants