Skip to content
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
electrocucaracha merged 2 commits into
masterfrom
copilot/fix-linting-issues
Mar 18, 2026
Merged

fix: add fetch-depth: 0 to super-linter checkout#42
electrocucaracha merged 2 commits into
masterfrom
copilot/fix-linting-issues

Conversation

Copilot AI commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

check-super-linter was failing immediately because super-linter requires full git history to resolve GITHUB_BEFORE_SHA, but the checkout was shallow.

Changes

  • .github/workflows/lint.yml: Add fetch-depth: 0 to the actions/checkout step in the check-super-linter job

🔒 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.

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
Copilot AI requested a review from electrocucaracha March 18, 2026 15:38
@electrocucaracha
electrocucaracha marked this pull request as ready for review March 18, 2026 15:42
@qodo-code-review

Copy link
Copy Markdown

Review Summary by Qodo

Add fetch-depth: 0 to super-linter checkout step

🐞 Bug fix

Grey Divider

Walkthroughs

Description
• Add fetch-depth: 0 to checkout step for full git history
• Resolves super-linter failure requiring GITHUB_BEFORE_SHA resolution
Diagram
flowchart 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"]
Loading

Grey Divider

File Changes

1. .github/workflows/lint.yml 🐞 Bug fix +1/-0

Configure checkout with full git history

• Added fetch-depth: 0 parameter to actions/checkout step in check-super-linter job
• Ensures full git history is available for super-linter to resolve GITHUB_BEFORE_SHA
• Fixes immediate failure of the linting workflow

.github/workflows/lint.yml


Grey Divider

Qodo Logo

@qodo-code-review

qodo-code-review Bot commented Mar 18, 2026

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 📐 Spec deviations (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@electrocucaracha
electrocucaracha merged commit 6471942 into master Mar 18, 2026
2 checks passed
@electrocucaracha
electrocucaracha deleted the copilot/fix-linting-issues branch March 18, 2026 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants