Skip to content

Commit fe2cab9

Browse files
dblockclaude
andcommitted
Migrate Danger to use danger-pr-comment workflow.
πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 63a63d0 commit fe2cab9

File tree

7 files changed

+31
-28
lines changed

7 files changed

+31
-28
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Danger Comment
2+
3+
on:
4+
workflow_run:
5+
workflows: [Danger]
6+
types: [completed]
7+
8+
jobs:
9+
comment:
10+
uses: numbata/danger-pr-comment/.github/workflows/[email protected]
11+
secrets: inherit

β€Ž.github/workflows/danger.ymlβ€Ž

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Danger
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, edited, synchronize]
6+
7+
jobs:
8+
danger:
9+
uses: numbata/danger-pr-comment/.github/workflows/[email protected]
10+
secrets: inherit
11+
with:
12+
ruby-version: '4.0'
13+
bundler-cache: true

β€Ž.github/workflows/pr_lint.ymlβ€Ž

Lines changed: 0 additions & 21 deletions
This file was deleted.

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### 3.1.1 (Next)
22

3+
* [#581](https://github.com/slack-ruby/slack-ruby-client/pull/581): Migrate Danger to use danger-pr-comment workflow - [@dblock](https://github.com/dblock).
34
* Your contribution here.
45

56
### 3.1.0 (2025/11/15)

β€ŽDangerfileβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
# frozen_string_literal: true
22

3-
danger.import_dangerfile(gem: 'slack-ruby-danger')
3+
danger.import_dangerfile(gem: 'danger-pr-comment')
4+
5+
changelog.check!
6+
toc.check!

β€ŽGemfileβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ group :test do
77
gem 'activesupport'
88
gem 'base64'
99
gem 'bigdecimal'
10+
gem 'danger-pr-comment', require: false
11+
gem 'danger-toc', require: false
1012
gem 'erubis'
1113
gem 'faraday-typhoeus'
1214
gem 'json-schema'

β€ŽGemfile.dangerβ€Ž

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
Β (0)