Skip to content

Commit 1c46d43

Browse files
committed
build: ensure workflow continues even if linting exits with non-zero status code
1 parent 70483fd commit 1c46d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/lint_autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
id: fix-lint-errors
141141
run: |
142142
files="${{ steps.changed-files.outputs.files }}"
143-
FIX=1 . "$GITHUB_WORKSPACE/.github/workflows/scripts/lint_javascript_files" "$files"
143+
FIX=1 . "$GITHUB_WORKSPACE/.github/workflows/scripts/lint_javascript_files" "$files" || true
144144
145145
# Add missing trailing newlines:
146146
- name: 'Add missing trailing newlines'

0 commit comments

Comments
 (0)