Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/danger-comment.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
name: Danger Comment

on:
workflow_run:
workflows: [Danger]
types: [completed]

permissions:
actions: read
issues: write
pull-requests: write

jobs:
comment:
uses: numbata/danger-pr-comment/.github/workflows/danger-comment.yml@v0.1.0
secrets: inherit
name: Post Review Comment
# danger/danger-pr-comment v0.3.0
uses: danger/danger-pr-comment/.github/workflows/danger-comment.yml@645e89bcc7be89ee7e8362166110b05cbced8e59
with:
base-branch: '*'
comment-empty: false
14 changes: 12 additions & 2 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
name: Danger

on:
pull_request:
types: [opened, reopened, edited, synchronize]

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
danger:
uses: numbata/danger-pr-comment/.github/workflows/danger-run.yml@v0.1.0
name: Review Pull Request
# danger/danger-pr-comment v0.3.0
uses: danger/danger-pr-comment/.github/workflows/danger-run.yml@645e89bcc7be89ee7e8362166110b05cbced8e59
with:
ruby-version: '3.4'
bundler-cache: true
secrets: inherit
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* [#54](https://github.com/mongoid/mongoid-scroll/pull/54): Lint Markdown, YAML, and spelling with rubocop-md, rubocop-prose, rubocop-spellcheck, and rubocop-yaml in a separate Lint workflow, and clean up documentation - [@dblock](https://github.com/dblock).
* [#55](https://github.com/mongoid/mongoid-scroll/pull/55): Run CI pushes only on the default branch, cancel superseded pull request runs, skip duplicate lint in the test matrix, and bound job times - [@dblock](https://github.com/dblock).
* [#56](https://github.com/mongoid/mongoid-scroll/pull/56): Release with ruby-gem-release from a manually dispatched GitHub Actions workflow using RubyGems Trusted Publishing, with dry runs - [@dblock](https://github.com/dblock).
* [#58](https://github.com/mongoid/mongoid-scroll/pull/58): Upgrade danger-pr-comment to 0.3.0 from the `danger` organization and skip empty Danger report comments - [@dblock](https://github.com/dblock).

### 2.0.1 (2026/10/15)

Expand Down
Loading