Skip to content

Conversation

@dblock
Copy link
Member

@dblock dblock commented Dec 30, 2025

Summary

Migrates from manual Danger setup to reusable workflow using danger-pr-comment, following the pattern from:

Changes

  • Add danger, danger-pr-comment, danger-changelog, and danger-toc to Gemfile
  • Update Dangerfile to import danger-pr-comment and add changelog.check! and toc.check!
  • Replace danger.yml workflow with reusable workflow pattern from numbata/danger-pr-comment
  • Add danger-comment.yml workflow for posting PR comments

Test plan

  • Verify Danger workflow runs successfully on this PR
  • Verify changelog check works correctly
  • Verify table of contents check works correctly
  • Verify PR comments are posted properly

🤖 Generated with Claude Code

@dblock dblock force-pushed the migrate-danger-pr-comment branch 2 times, most recently from 00b9cd9 to 8d9ed57 Compare December 30, 2025 19:25
@dblock dblock requested a review from numbata December 30, 2025 19:30
@dblock dblock force-pushed the migrate-danger-pr-comment branch from 8d9ed57 to e36f5b8 Compare December 30, 2025 19:30
@dblock dblock force-pushed the migrate-danger-pr-comment branch 2 times, most recently from c8f4166 to fc17695 Compare December 30, 2025 19:39
Replaces manual Danger setup with reusable workflow from numbata/danger-pr-comment, following the pattern from slack-ruby/slack-ruby-client#581 and slack-ruby/slack-ruby-bot-server#181.

- Add danger, danger-pr-comment, danger-changelog, and danger-toc to Gemfile
- Update Dangerfile to import danger-pr-comment and add changelog.check! and toc.check!
- Replace danger.yml workflow with reusable workflow pattern
- Add danger-comment.yml workflow for PR comments

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@dblock dblock force-pushed the migrate-danger-pr-comment branch from fc17695 to 07a05ab Compare December 30, 2025 19:40
expect(hidden_entity_definition).to include({
'type' => 'object',
'properties' => {},
'required' => ['hidden_prop']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is from last version of grape-swagger-entity.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there are other problems with grape/HEAD, going to leave this alone for a little bit ...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably need a scheduled workflow that runs the specs periodically, so we catch breakages early and keep the gem healthy.

@dblock dblock force-pushed the migrate-danger-pr-comment branch from faaa3ec to aeb6c7e Compare December 30, 2025 19:51
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