Skip to content

ci: trigger mega-linter workflow also on pull requests#962

Open
jklare wants to merge 1 commit intomainfrom
jk-trigger_linter_on_pr
Open

ci: trigger mega-linter workflow also on pull requests#962
jklare wants to merge 1 commit intomainfrom
jk-trigger_linter_on_pr

Conversation

@jklare
Copy link
Copy Markdown
Contributor

@jklare jklare commented Apr 7, 2026

  • so far, the linter was only running on push, which was fine for all internal PRs
  • to also lint code from PRs that were not pushed to the repo directly, we need to enable the pipeline also for those

@jklare jklare requested a review from ideaship April 7, 2026 07:11
* so far, the linter was only running on push, which was fine for all
  internal PRs
* to also lint code from PRs that were not pushed to the repo directly,
  we need to enable the pipeline also for those

Signed-off-by: Jan Klare <klare@osism.tech>
@jklare jklare force-pushed the jk-trigger_linter_on_pr branch from a0f15bf to 64975f9 Compare April 7, 2026 07:19
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 3 0 0 0.03s
✅ JSON jsonlint 4 0 0 0.08s
✅ JSON prettier 4 0 0 0.35s
✅ JSON v8r 4 0 0 6.85s
✅ MARKDOWN markdownlint 154 0 0 2.21s
✅ MARKDOWN markdown-table-formatter 154 0 0 0.41s
✅ REPOSITORY checkov yes no no 17.17s
✅ REPOSITORY git_diff yes no no 0.06s
✅ REPOSITORY secretlint yes no no 1.69s
✅ REPOSITORY trufflehog yes no no 4.08s
✅ SPELL codespell 162 0 0 0.5s
✅ SPELL lychee 162 0 0 37.24s
✅ YAML prettier 4 0 0 0.43s
✅ YAML v8r 4 0 0 5.38s
✅ YAML yamllint 4 0 0 0.5s

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,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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant