Skip to content

Commit 26f9631

Browse files
committed
Fix Super-Linter artifact upload errors
- Add 'if: always()' to ensure artifact upload runs even if linting fails - Use glob pattern to catch any lint log files (**/*lint*.log) - Add 'if-no-files-found: ignore' to prevent errors when no log files exist - Resolves zip file creation errors during artifact upload - Ensures Super-Linter reports are captured when available
1 parent 42fac3f commit 26f9631

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/super-linter.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ jobs:
5151
VALIDATE_EDITORCONFIG: true
5252
- name: Upload Super-Linter report
5353
uses: actions/upload-artifact@v4
54+
if: always()
5455
with:
5556
name: super-linter-report
56-
path: super-linter.log
57+
path: |
58+
super-linter.log
59+
**/*lint*.log
60+
if-no-files-found: ignore

0 commit comments

Comments
 (0)