[PR #923] [MERGED] ci: replace superlinter with megalinter #1683

Closed
opened 2026-03-01 21:52:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/923
Author: @catthehacker
Created: 12/11/2021
Status: Merged
Merged: 12/22/2021
Merged by: @cplee

Base: masterHead: cat/feat/megalinter


📝 Commits (2)

  • dc1ac5c ci: replace superlinter with megalinter
  • f0a2e36 fix: apply lint recommendations

📊 Changes

15 files changed (+58 additions, -56 deletions)

View changed files

📝 .editorconfig (+2 -6)
📝 .github/dependabot.yml (+6 -6)
.github/linters/.golangci.yml (+0 -1)
.github/linters/.markdown-lint.yml (+0 -1)
📝 .github/workflows/checks.yml (+4 -12)
📝 .gitignore (+2 -2)
📝 .golangci.yml (+6 -0)
📝 .goreleaser.yml (+4 -4)
📝 .markdownlint.yml (+2 -1)
.mega-linter.yml (+17 -0)
📝 Makefile (+3 -9)
📝 pkg/container/docker_run.go (+3 -4)
📝 pkg/runner/expression.go (+5 -5)
📝 pkg/runner/run_context.go (+1 -1)
📝 pkg/runner/step_context.go (+3 -4)

📄 Description

  • replaced https://github.com/github/super-linter with https://github.com/megalinter/megalinter (megalinter is maintained better than superlinter)
  • pass context to Executor for gitClone, this was recommended by contextcheck linter but later on I noticed it's a required
    fix anyway for logging, also pass context to Docker engine version check func
  • fix .goreleaser.yml, in-editor schema validation (and schema linter) screams about ints being ints
  • correct dependabot.yml quotes
  • move CGO_ENABLED to global env
  • remove unnecessary nolint comments

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/923 **Author:** [@catthehacker](https://github.com/catthehacker) **Created:** 12/11/2021 **Status:** ✅ Merged **Merged:** 12/22/2021 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `cat/feat/megalinter` --- ### 📝 Commits (2) - [`dc1ac5c`](https://github.com/nektos/act/commit/dc1ac5cb8c84fa4a18b55671333361ec02c12579) ci: replace superlinter with megalinter - [`f0a2e36`](https://github.com/nektos/act/commit/f0a2e36c4482e2932cda6a48b387124f596c1775) fix: apply lint recommendations ### 📊 Changes **15 files changed** (+58 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `.editorconfig` (+2 -6) 📝 `.github/dependabot.yml` (+6 -6) ➖ `.github/linters/.golangci.yml` (+0 -1) ➖ `.github/linters/.markdown-lint.yml` (+0 -1) 📝 `.github/workflows/checks.yml` (+4 -12) 📝 `.gitignore` (+2 -2) 📝 `.golangci.yml` (+6 -0) 📝 `.goreleaser.yml` (+4 -4) 📝 `.markdownlint.yml` (+2 -1) ➕ `.mega-linter.yml` (+17 -0) 📝 `Makefile` (+3 -9) 📝 `pkg/container/docker_run.go` (+3 -4) 📝 `pkg/runner/expression.go` (+5 -5) 📝 `pkg/runner/run_context.go` (+1 -1) 📝 `pkg/runner/step_context.go` (+3 -4) </details> ### 📄 Description - replaced https://github.com/github/super-linter with https://github.com/megalinter/megalinter (megalinter is maintained better than superlinter) - pass `context` to `Executor` for `gitClone`, this was recommended by `contextcheck` linter but later on I noticed it's a required fix anyway for logging, also pass context to Docker engine version check func - fix `.goreleaser.yml`, in-editor schema validation (and schema linter) screams about `int`s being `int`s - correct `dependabot.yml` quotes - move `CGO_ENABLED` to global `env` - remove unnecessary `nolint` comments --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:52:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1683
No description provided.