-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 998 Bytes
/
Copy pathlinter.yml
File metadata and controls
36 lines (33 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: reviewdog
on: [pull_request]
env:
REVIEWDOG_SKIP_DOGHOUSE: true
jobs:
ruby_linting:
name: runner / ruby_linting
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: rubocop
uses: reviewdog/action-rubocop@v2
with:
rubocop_version: gemfile
rubocop_extensions: rubocop-rspec:gemfile
rubocop_flags: --ignore-unrecognized-cops
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
filter_mode: added
fail_on_error: false
- name: brakeman
uses: reviewdog/action-brakeman@v2
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
filter_mode: added
fail_on_error: true
brakeman_flags: '--no-exit-on-warn --no-exit-on-error --force .'