Run MegaLinter only on pull requests#1008
Merged
Merged
Conversation
MegaLinter was triggered on every push, including merges to main. Restrict the trigger to pull_request so it no longer runs after a merge to main. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Christian Berendt <berendt@osism.tech>
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 5 | 0 | 0 | 0.04s | |
| ✅ JSON | jsonlint | 4 | 0 | 0 | 0.12s | |
| ✅ JSON | prettier | 4 | 0 | 0 | 0.32s | |
| ✅ JSON | v8r | 4 | 0 | 0 | 9.76s | |
| markdownlint | 160 | 4 | 0 | 2.63s | ||
| markdown-table-formatter | 160 | 1 | 0 | 0.43s | ||
| ✅ REPOSITORY | checkov | yes | no | no | 18.68s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.05s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 1.64s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 3.48s | |
| ✅ SPELL | codespell | 170 | 0 | 0 | 0.56s | |
| lychee | 170 | 1 | 0 | 41.4s | ||
| ✅ YAML | prettier | 6 | 0 | 0 | 0.48s | |
| ✅ YAML | v8r | 6 | 0 | 0 | 6.0s | |
| ✅ YAML | yamllint | 6 | 0 | 0 | 0.45s |
Detailed Issues
⚠️ SPELL / lychee - 1 error
📝 Summary
---------------------
🔍 Total..........921
🔗 Unique.........745
✅ Successful.....853
⏳ Timeouts.........6
🔀 Redirected......47
👻 Excluded........61
❓ Unknown..........0
🚫 Errors...........1
⛔ Unsupported......1
Errors in docs/concepts/bom.md
[TIMEOUT] https://www.edge-core.com/product/as4610-54t/ (at 107:7) | Request timed out
[TIMEOUT] https://www.edge-core.com/product/dcs202/ (at 108:8) | Request timed out
[TIMEOUT] https://www.edge-core.com/product/dcs203/ (at 124:8) | Request timed out
[TIMEOUT] https://www.edge-core.com/product/dcs204/ (at 125:9) | Request timed out
[TIMEOUT] https://www.edge-core.com/product/dcs204/ (at 129:9) | Request timed out
[TIMEOUT] https://www.edge-core.com/product/dcs510/ (at 130:9) | Request timed out
Errors in docs/release-notes/index.md
[ERROR] https://release.osism.tech/ (at 11:1) | Connection failed. Check network connectivity and firewall settings
Hint: Followed 47 redirects. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.
⚠️ MARKDOWN / markdown-table-formatter - 1 error
1 files contain markdown tables to format:
- docs/guides/developer-guide/retiring-openstack-releases.md
⚠️ MARKDOWN / markdownlint - 4 errors
docs/guides/developer-guide/retiring-openstack-releases.md:181:450 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/guides/developer-guide/retiring-openstack-releases.md:181:535 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/guides/developer-guide/retiring-openstack-releases.md:183:417 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/guides/developer-guide/retiring-openstack-releases.md:183:502 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
Notices
📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)
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.5.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_SECRETLINT,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,SPELL_CODESPELL,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

Show us your support by starring ⭐ the repository
ideaship
approved these changes
Jun 23, 2026
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.
MegaLinter was triggered on every
push, including merges tomain. This restricts the trigger topull_requestonly, so it no longer runs after a merge tomain.🤖 Generated with Claude Code