Skip to content

Commit d8f5b8e

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
merge_group:
1010

1111
permissions:
12-
contents: read
12+
contents: write
1313

1414
jobs:
1515
lint:
@@ -26,6 +26,7 @@ jobs:
2626
if: ${{ github.event_name != 'merge_group' }}
2727
uses: wearerequired/lint-action@548d8a7c4b04d3553d32ed5b6e91eb171e10e7bb # v2
2828
with:
29+
auto_fix: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}
2930
rubocop: true
3031
rubocop_command_prefix: bundle exec
3132

0 commit comments

Comments
 (0)