Repository navigation
Commit 40d3394
Move Danger into its own Gemfile, loaded only by its workflow
Danger ran from the main Gemfile's :test group, which every gemfile in
gemfiles/ evaluates. So each test job resolved and installed Danger's
gems as well: 28 of the bundle's 90, Faraday, Octokit and kramdown
among them. The `git < 6` pin (#3045) went to every bundle too.
gemfiles/danger.gemfile now holds danger, danger-changelog,
danger-pr-comment and the git pin, and nothing else, not even the
gemspec. The main Gemfile drops them.
numbata/danger-pr-comment's danger-run.yml can't pick a Gemfile, and a
caller's env doesn't reach a reusable workflow. danger.yml therefore
runs that workflow's steps itself, with BUNDLE_GEMFILE set on the job.
The report artifact keeps the same names, so danger-comment.yml still
posts the PR comment unchanged. The Dangerfile is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 0aa1fa5 commit 40d3394
3 files changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 24 | | |
30 | 25 | | |
31 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments