Skip to content

Commit 18e3149

Browse files
author
KaoImin
committed
update
1 parent cb072fe commit 18e3149

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/mega_linter.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
github.event_name == 'push' ||
153153
github.event.pull_request.head.repo.full_name == github.repository
154154
) &&
155-
!contains(github.event.head_commit.message, 'skip fix')
155+
!contains(github.event.head_commit.message, 'skip megalinter fix')
156156
run: sudo chown -Rc $UID .git/
157157

158158
- name: Commit and push applied linter fixes
@@ -169,14 +169,9 @@ jobs:
169169
github.event_name == 'push' ||
170170
github.event.pull_request.head.repo.full_name == github.repository
171171
) &&
172-
!contains(github.event.head_commit.message, 'skip fix')
172+
!contains(github.event.head_commit.message, 'skip megalinter fix')
173173
with:
174-
branch: >-
175-
${{
176-
github.event.pull_request.head.ref ||
177-
github.head_ref ||
178-
github.ref
179-
}}
174+
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
180175
commit_message: "[MegaLinter] Apply linters fixes"
181176
commit_user_name: megalinter-bot
182177
commit_user_email: [email protected]

0 commit comments

Comments
 (0)