We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8f5b8e commit 69c5da2Copy full SHA for 69c5da2
.github/workflows/lint.yml
@@ -1,12 +1,8 @@
1
name: Lint
2
3
on:
4
- push:
5
- branches:
6
- - main
7
pull_request:
8
workflow_dispatch:
9
- merge_group:
10
11
permissions:
12
contents: write
@@ -23,13 +19,8 @@ jobs:
23
19
bundler-cache: true
24
20
25
21
- name: Run linters
26
- if: ${{ github.event_name != 'merge_group' }}
27
22
uses: wearerequired/lint-action@548d8a7c4b04d3553d32ed5b6e91eb171e10e7bb # v2
28
with:
29
- auto_fix: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}
+ auto_fix: true
30
rubocop: true
31
rubocop_command_prefix: bundle exec
32
-
33
- - name: Skip with successful status
34
- if: ${{ github.event_name == 'merge_group' }}
35
- run: exit 0
0 commit comments