This repository was archived by the owner on Apr 25, 2026. It is now read-only.
fix: add fetch-depth: 0 to super-linter checkout - #42
Merged
Conversation
Co-authored-by: electrocucaracha <2782150+electrocucaracha@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix all linting issues and verify with make
fix: add fetch-depth: 0 to super-linter checkout
Mar 18, 2026
electrocucaracha
marked this pull request as ready for review
March 18, 2026 15:42
Review Summary by QodoAdd fetch-depth: 0 to super-linter checkout step
WalkthroughsDescription• Add fetch-depth: 0 to checkout step for full git history • Resolves super-linter failure requiring GITHUB_BEFORE_SHA resolution Diagramflowchart LR
A["Shallow checkout<br/>fetch-depth default"] -->|Add fetch-depth: 0| B["Full git history<br/>available"]
B -->|Enables| C["super-linter resolves<br/>GITHUB_BEFORE_SHA"]
C -->|Result| D["check-super-linter<br/>job succeeds"]
File Changes1. .github/workflows/lint.yml
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 📐 Spec deviations (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
check-super-linterwas failing immediately because super-linter requires full git history to resolveGITHUB_BEFORE_SHA, but the checkout was shallow.Changes
.github/workflows/lint.yml: Addfetch-depth: 0to theactions/checkoutstep in thecheck-super-linterjob🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.