Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance #63

Merged
merged 7 commits into from
May 28, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add danger for rubocop
paul committed May 28, 2024

Verified

This commit was signed with the committer’s verified signature.
paul Paul Sadauskas
commit e8674aadd92be35ee829172380e3e789afe55144
17 changes: 17 additions & 0 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run Danger on PRs

on:
pull_request:
types: [opened, synchronize]

jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# frozen_string_literal: true

# vi: ft=ruby

github.dismiss_out_of_range_messages
rubocop.lint inline_comment: true
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -12,4 +12,6 @@ group :development, :test do
gem "rubocop"
gem "rubocop-rspec"
gem "timecop"

gem "danger-rubocop", "~> 0.13.0"
end