Skip to content

ci(lint): run megalinter in its own main-only job - #51

Merged
skevetter merged 1 commit into
mainfrom
ci/megalinter-main-job
Nov 23, 2026
Merged

skevetter merged 1 commit into
mainfrom
ci/megalinter-main-job

Conversation

@skevetter

@skevetter skevetter commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The lint workflow adds a MegaLinter job that runs on ubuntu-latest for pushes to main. The push condition now gates the job instead of the MegaLinter step.

Changes: Lint workflow

Layer / File(s) Summary
MegaLinter job gating
.github/workflows/lint.yaml
The workflow gates the MegaLinter job on pushes to main. The job checks out the repository and runs MegaLinter.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Merge Risk: Minimal · up to 9dfff

The workflow change stops pull-request Lint runs from pulling the MegaLinter image and keeps MegaLinter running on pushes to main. No actionable merge risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "ci(lint): run megalinter in its own main-only job" matches the main change. The PR moves MegaLinter from a step-level push condition into a separate job that runs only on pushes to main, so…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "ci(lint): run megalinter in its own main-only job" matches the main change. The PR moves MegaLinter from a step-level push condition into a separate job that runs only on pushes to main, so the runner no longer pulls the Docker image for pull-request Lint runs. The title names the workflow scope (lint), the tool (MegaLinter), and the key change (its own main-only job). It does not mention the performance motivation or the unchanged golangci-lint step, which is acceptable.

Finishing Touches

Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6ce9b3f3-db87-42a4-8413-a03b702db3f1
Commits

Reviewing files that changed from the base of the PR and between 49d4d33 and 9dfffa3.

Files selected for processing: 1

  • .github/workflows/lint.yaml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@skevetter
skevetter marked this pull request as ready for review November 23, 2026 00:42
@skevetter
skevetter merged commit e325e0f into main Nov 23, 2026
7 checks passed
@skevetter
skevetter deleted the ci/megalinter-main-job branch November 23, 2026 00:48
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