Skip to content

Run MegaLinter only on pull requests#1008

Merged
ideaship merged 1 commit into
mainfrom
megalinter-pr-only
Jun 23, 2026
Merged

Run MegaLinter only on pull requests#1008
ideaship merged 1 commit into
mainfrom
megalinter-pr-only

Conversation

@berendt

@berendt berendt commented Jun 23, 2026

Copy link
Copy Markdown
Member

MegaLinter was triggered on every push, including merges to main. This restricts the trigger to pull_request only, so it no longer runs after a merge to main.

🤖 Generated with Claude Code

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>
@github-actions

Copy link
Copy Markdown

⚠️MegaLinter analysis: Success with warnings

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
⚠️ MARKDOWN markdownlint 160 4 0 2.63s
⚠️ MARKDOWN 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
⚠️ SPELL 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

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@ideaship ideaship merged commit 9c169d7 into main Jun 23, 2026
4 checks passed
@ideaship ideaship deleted the megalinter-pr-only branch June 23, 2026 13:16
@github-project-automation github-project-automation Bot moved this from Ready to Done in Human Board Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants