Skip to content

Commit 69c5da2

Browse files
authored
Update lint.yml
Signed-off-by: Justin Kenyon <[email protected]>
1 parent d8f5b8e commit 69c5da2

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
name: Lint
22

33
on:
4-
push:
5-
branches:
6-
- main
74
pull_request:
85
workflow_dispatch:
9-
merge_group:
106

117
permissions:
128
contents: write
@@ -23,13 +19,8 @@ jobs:
2319
bundler-cache: true
2420

2521
- name: Run linters
26-
if: ${{ github.event_name != 'merge_group' }}
2722
uses: wearerequired/lint-action@548d8a7c4b04d3553d32ed5b6e91eb171e10e7bb # v2
2823
with:
29-
auto_fix: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}
24+
auto_fix: true
3025
rubocop: true
3126
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

Comments
 (0)