Repository navigation
Upgrade danger-pr-comment and skip empty Danger comments - #58
Merged
Merged
Conversation
dblock
force-pushed
the
dblock/danger-pr-comment
branch
from
November 24, 2026 04:09
a066d0d to
9ac709e
Compare
Contributor
Danger ReportNo issues found. |
dblock
force-pushed
the
dblock/danger-pr-comment
branch
3 times, most recently
from
November 24, 2026 12:42
12e2a22 to
6573ee2
Compare
Use the danger/danger-pr-comment 0.3.0 reusable workflows, pinned by commit, with comment-empty disabled so clean pull requests no longer get a "No issues found" comment while existing reports are still updated. Allow stacked pull request targets, declare the comment workflow's permissions, and cancel superseded Danger runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Gr21iR4JxWxGGyXdJ3uc9
dblock
force-pushed
the
dblock/danger-pr-comment
branch
from
November 24, 2026 12:44
6573ee2 to
3ed1768
Compare
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.
The lint, CI, and release stack (#54 → #55 → #56) has merged, so this PR is rebased on
masterand contains only the Danger change. TheEtc/GMT+5time zone andjson < 3fixes that make CI pass came from #54.Clean pull requests get a "Danger Report: No issues found." comment from the Danger comment workflow.
numbata/danger-pr-comment@v0.1.0todanger/danger-pr-comment, where the project now lives, at v0.3.0, pinned by commit (645e89b).comment-empty: false. Empty reports then create no new comment, while existing report comments are still updated.base-branch: '*'so reports are posted on stacked PRs that target another PR's branch.actions: read,issues: write,pull-requests: write). Give the Danger runcontents: read, aconcurrencygroup that cancels superseded runs, and job names.The comment workflow runs from
workflow_run, which uses the default branch's copy. So skipping empty comments takes effect after merge, and this PR's own report may still post the old way.Validation:
actionlintpasses. CI on this PR exercises the new Danger run workflow.This PR was written by an AI (Claude) on behalf of @dblock.
🤖 Generated with Claude Code
https://claude.ai/code/session_011Gr21iR4JxWxGGyXdJ3uc9