Ralf Vogler
|
fd7958fe24
|
mega-linter: GHA step summary supported by beta (also now has expandable details in md)
|
2025-07-23 10:40:44 +02:00 |
|
Ralf Vogler
|
73a38a1600
|
mega-linter: beta instead of v8.7.0 to test GHA step summary support
|
2025-07-23 10:30:37 +02:00 |
|
Ralf Vogler
|
3ff71a3a60
|
mega-linter: github step summary not written by MARKDOWN_SUMMARY_REPORTER?
|
2025-07-22 23:56:10 +02:00 |
|
Ralf Vogler
|
7a90ba32a1
|
mega-linter: github step summary should now be done by MARKDOWN_SUMMARY_REPORTER
|
2025-07-22 23:48:41 +02:00 |
|
Ralf Vogler
|
4288bf1d39
|
same triggers (push, PRs) for js, mega-linter, sonar
|
2025-05-25 15:14:14 +02:00 |
|
vogler
|
5f1458413d
|
[MegaLinter] Apply linters fixes
|
2025-05-24 20:25:18 +00:00 |
|
Ralf Vogler
|
a7b882f3a1
|
added PAT for megalinter with workflows permission
https://github.com/orgs/community/discussions/35410
|
2025-05-24 22:22:36 +02:00 |
|
Ralf Vogler
|
e7a00d7d18
|
megalinter apparently can't push commit fixing workflows without a sep. PAT
See https://github.com/orgs/community/discussions/26711
|
2025-05-24 21:51:53 +02:00 |
|
Ralf Vogler
|
9fa9325566
|
megalinter: job summary from markdown file
|
2025-05-24 21:03:23 +02:00 |
|
Ralf Vogler
|
1ed84a0a60
|
megalinter: upload-sarif category
|
2025-05-24 20:51:50 +02:00 |
|
Ralf Vogler
|
6309fc5a37
|
megalinter: upload-sarif needs more permissons?
https://github.com/github/codeql-action/issues/1806
|
2025-05-24 19:55:10 +02:00 |
|
Ralf Vogler
|
056494c9dc
|
megalinter customize config; local run ~7min...
```console
$ npx mega-linter-runner -r v8 -f cupcake
+----SUMMARY----+--------------------------+---------------+-------+-------+--------+----------+--------------+
| Descriptor | Linter | Mode | Files | Fixed | Errors | Warnings | Elapsed time |
+---------------+--------------------------+---------------+-------+-------+--------+----------+--------------+
| ✅ ACTION | actionlint | list_of_files | 4 | | 0 | 0 | 3.25s |
| ✅ BASH | bash-exec | file | 1 | | 0 | 0 | 2.77s |
| ✅ BASH | shellcheck | list_of_files | 1 | | 0 | 0 | 1.16s |
| ✅ BASH | shfmt | list_of_files | 1 | 0 | 0 | 0 | 0.6s |
| ⚠️ COPYPASTE | jscpd | project | n/a | | 8 | 0 | 24.82s |
| ⚠️ DOCKERFILE | hadolint | list_of_files | 1 | | 4 | 0 | 6.74s |
| ⚠️ JAVASCRIPT | eslint | list_of_files | 15 | 0 | 1 | 0 | 11.04s |
| ✅ JSON | jsonlint | list_of_files | 7 | | 0 | 0 | 4.76s |
| ✅ JSON | npm-package-json-lint | project | n/a | | 0 | 0 | 3.26s |
| ✅ JSON | prettier | list_of_files | 7 | 0 | 0 | 0 | 5.08s |
| ✅ JSON | v8r | list_of_files | 7 | | 0 | 0 | 47.96s |
| ✅ MARKDOWN | markdownlint | list_of_files | 2 | 0 | 0 | 0 | 12.16s |
| ✅ MARKDOWN | markdown-table-formatter | list_of_files | 2 | 0 | 0 | 0 | 4.15s |
| ⚠️ REPOSITORY | checkov | project | n/a | | 3 | 0 | 112.11s |
| ✅ REPOSITORY | gitleaks | project | n/a | | 0 | 0 | 3.09s |
| ✅ REPOSITORY | git_diff | project | n/a | | 0 | 0 | 1.22s |
| ✅ REPOSITORY | grype | project | n/a | | 0 | 0 | 159.7s |
| ⚠️ REPOSITORY | kics | project | n/a | | 24 | 0 | 14.82s |
| ✅ REPOSITORY | secretlint | project | n/a | | 0 | 0 | 7.24s |
| ✅ REPOSITORY | syft | project | n/a | | 0 | 0 | 7.83s |
| ⚠️ REPOSITORY | trivy | project | n/a | | 2 | 0 | 28.16s |
| ✅ REPOSITORY | trufflehog | project | n/a | | 0 | 0 | 26.51s |
| ⚠️ SPELL | cspell | list_of_files | 40 | | 224 | 0 | 82.25s |
| ⚠️ SPELL | lychee | list_of_files | 17 | | 9 | 0 | 10.28s |
| ✅ YAML | prettier | list_of_files | 8 | 1 | 0 | 0 | 9.12s |
| ✅ YAML | v8r | list_of_files | 8 | | 0 | 0 | 39.07s |
| ✅ YAML | yamllint | list_of_files | 8 | | 0 | 0 | 5.39s |
+---------------+--------------------------+---------------+-------+-------+--------+----------+--------------+
```
|
2025-05-24 19:41:33 +02:00 |
|
Ralf Vogler
|
a040108e92
|
megalinter "''" needed for lists in env var
|
2025-05-24 15:50:08 +02:00 |
|
Ralf Vogler
|
0495486cde
|
comment how to run locally
|
2025-05-24 15:33:19 +02:00 |
|
Ralf Vogler
|
91fe3aee80
|
run for PRs against main or dev
|
2025-05-24 15:33:05 +02:00 |
|
Ralf Vogler
|
847c921bca
|
use megalinter cupcake flavor (88 vs 127 linter, 5 vs 10GB image)
|
2025-05-24 15:32:45 +02:00 |
|
Ralf Vogler
|
5a9cc0cb3a
|
npx mega-linter-runner --install # all defaults
|
2025-05-23 00:54:32 +02:00 |
|