chore(deps): bump megalinter/megalinter from 9.3.0 to 9.4.0#248
Open
dependabot[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): bump megalinter/megalinter from 9.3.0 to 9.4.0#248dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot[bot] wants to merge 1 commit intomasterfrom
Conversation
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter) from 9.3.0 to 9.4.0. - [Release notes](https://github.com/megalinter/megalinter/releases) - [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md) - [Commits](oxsecurity/megalinter@v9.3.0...v9.4.0) --- updated-dependencies: - dependency-name: megalinter/megalinter dependency-version: 9.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 2 | 0 | 0 | 0.06s | |
| jscpd | yes | 22 | no | 3.13s | ||
| golangci-lint | yes | 1 | no | 85.22s | ||
| ✅ GO | revive | yes | no | no | 10.24s | |
| ✅ MARKDOWN | markdownlint | 1 | 0 | 0 | 1.06s | |
| ✅ MARKDOWN | markdown-table-formatter | 1 | 0 | 0 | 0.61s | |
| ✅ REPOSITORY | checkov | yes | no | no | 23.47s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 0.39s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.01s | |
| ✅ REPOSITORY | grype | yes | no | no | 64.9s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 1.04s | |
| ✅ REPOSITORY | syft | yes | no | no | 6.57s | |
| ✅ REPOSITORY | trivy | yes | no | no | 16.61s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 4.42s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 4.83s | |
| ✅ SPELL | lychee | 5 | 0 | 0 | 0.87s | |
| prettier | 4 | 1 | 2 | 0.91s | ||
| ✅ YAML | v8r | 4 | 0 | 0 | 5.21s | |
| ✅ YAML | yamllint | 4 | 0 | 0 | 1.33s |
Detailed Issues
⚠️ GO / golangci-lint - 1 error
../../..pkg/mesh/service.go:94:14: unlambda: replace `func(shardID, replicaID uint64) statemachine.IStateMachine {
return NewMeshStateMachine(shardID, replicaID)
}` with `NewMeshStateMachine` (gocritic)
createSM := func(shardID, replicaID uint64) statemachine.IStateMachine {
^
../../..pkg/laws/user.go:166:2: QF1003: could use tagged switch on facts.Facts.Distro.Family (staticcheck)
if facts.Facts.Distro.Family == "alpine" {
^
2 issues:
* gocritic: 1
* staticcheck: 1
⚠️ COPYPASTE / jscpd - 22 errors
Clone found (go):
- pkg/mesh/http.go [124:16 - 151:8] (27 lines, 275 tokens)
pkg/mesh/http.go [86:14 - 113:7]
Clone found (go):
- pkg/mesh/http.go [201:9 - 216:6] (15 lines, 119 tokens)
pkg/mesh/http.go [177:10 - 192:7]
Clone found (go):
- pkg/mesh/http.go [237:2 - 247:7] (10 lines, 90 tokens)
pkg/mesh/http.go [182:2 - 192:7]
Clone found (go):
- pkg/mesh/http.go [261:13 - 278:8] (17 lines, 138 tokens)
pkg/mesh/http.go [230:11 - 192:7]
Clone found (go):
- pkg/laws/ssh.go [99:3 - 110:2] (11 lines, 131 tokens)
pkg/laws/ssh.go [70:4 - 82:7]
Clone found (go):
- pkg/laws/service.go [175:5 - 180:4] (5 lines, 77 tokens)
pkg/laws/service.go [156:7 - 161:4]
Clone found (go):
- pkg/laws/pkgrepo.go [65:28 - 74:2] (9 lines, 88 tokens)
pkg/laws/script.go [73:23 - 82:2]
Clone found (go):
- pkg/laws/file.go [135:27 - 143:17] (8 lines, 82 tokens)
pkg/laws/script.go [73:23 - 81:5]
Clone found (go):
- pkg/laws/file.go [286:2 - 316:8] (30 lines, 378 tokens)
pkg/laws/file.go [135:2 - 165:23]
Clone found (go):
- pkg/laws/file.go [318:3 - 324:5] (6 lines, 92 tokens)
pkg/laws/file.go [172:3 - 178:22]
Clone found (go):
- pkg/laws/file.go [412:2 - 422:4] (10 lines, 97 tokens)
pkg/laws/file.go [362:2 - 372:6]
Clone found (go):
- pkg/laws/file.go [445:3 - 464:7] (19 lines, 222 tokens)
pkg/laws/file.go [394:3 - 412:3]
Clone found (go):
- pkg/laws/file.go [472:2 - 510:9] (38 lines, 478 tokens)
pkg/laws/file.go [135:2 - 324:13]
Clone found (go):
- pkg/laws/file.go [550:2 - 563:89] (13 lines, 120 tokens)
pkg/laws/file.go [363:3 - 425:3]
Clone found (go):
- pkg/laws/file.go [580:5 - 602:7] (22 lines, 259 tokens)
pkg/laws/file.go [440:5 - 411:2]
Clone found (go):
- pkg/laws/container.go [90:26 - 99:4] (9 lines, 88 tokens)
pkg/laws/script.go [73:23 - 82:2]
Clone found (go):
- cmd/mesh-commands.go [51:38 - 62:6] (11 lines, 113 tokens)
cmd/mesh-commands.go [23:80 - 34:7]
Clone found (go):
- cmd/mesh-commands.go [173:17 - 179:22] (6 lines, 81 tokens)
cmd/mesh-commands.go [124:16 - 130:28]
Clone found (go):
- cmd/mesh-commands.go [179:22 - 192:14] (13 lines, 82 tokens)
cmd/mesh-commands.go [130:28 - 143:14]
Clone found (go):
- cmd/mesh-commands.go [227:17 - 233:23] (6 lines, 81 tokens)
cmd/mesh-commands.go [124:16 - 130:28]
Clone found (go):
- cmd/local-lint.go [48:3 - 62:4] (14 lines, 135 tokens)
cmd/local-pretend.go [48:3 - 62:4]
Clone found (go):
- cmd/local-apply.go [48:18 - 63:2] (15 lines, 117 tokens)
cmd/local-pretend.go [49:12 - 63:4]
┌────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ go │ 32 │ 5800 │ 41700 │ 22 │ 314 (5.41%) │ 3343 (8.02%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total: │ 32 │ 5800 │ 41700 │ 22 │ 314 (5.41%) │ 3343 (8.02%) │
└────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 22 clones.
HTML report saved to megalinter-reports/copy-paste/html/
ERROR: jscpd found too many duplicates (5.41%) over threshold (0%)
Error: ERROR: jscpd found too many duplicates (5.41%) over threshold (0%)
at ThresholdReporter.report (/node-deps/node_modules/@jscpd/finder/dist/index.js:615:13)
at /node-deps/node_modules/@jscpd/finder/dist/index.js:109:18
at Array.forEach (<anonymous>)
at /node-deps/node_modules/@jscpd/finder/dist/index.js:108:22
at async /node-deps/node_modules/jscpd/dist/bin/jscpd.js:9:5
⚠️ YAML / prettier - 1 error
Checking formatting...
[warn] .github/workflows/megalinter.yaml
[warn] Code style issues found in the above file. Run Prettier with --write to fix.
See detailed reports in MegaLinter artifacts
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,COPYPASTE_JSCPD,GO_GOLANGCI_LINT,GO_REVIVE,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

Show us your support by starring ⭐ the repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps megalinter/megalinter from 9.3.0 to 9.4.0.
Release notes
Sourced from megalinter/megalinter's releases.
... (truncated)
Changelog
Sourced from megalinter/megalinter's changelog.
... (truncated)
Commits
8fbdeadRelease MegaLinter v9.4.09f605c4Fix custom flavor builder workflow (#7306)b7dcb60Update changelog to prepare release (#7304)3077b04chore(deps): update dependency regex to v2026.2.28 (#7303)edba876[automation] Auto-update linters version, help and documentation (#7299)07fb84dchore(deps): update dependency python-gitlab to v8.1.0 (#7302)4d42e33chore(deps): update dependency fastapi to v0.134.0 (#7301)649726cchore(deps): update dependency rumdl to v0.1.32 (#7300)768b5a3chore(deps): update dependency virtualenv to v21.1.0 (#7298)7e73a76chore(deps): update dependency eslint-plugin-jsonc to v3 (#7260)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)