Skip to content

fix: run editorconfig-checker via Docker (its action is setup-only) - #501

Merged
ptr727 merged 2 commits into
developfrom
fix/editorconfig-run
Jul 11, 2026
Merged

ptr727 merged 2 commits into
developfrom
fix/editorconfig-run

Conversation

@ptr727

@ptr727 ptr727 commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Bug: editorconfig-checker/action-editorconfig-checker only installs the CLI (its README example adds a separate run step). #500 used uses: with no run step, so the "Check line endings" step passed without validating line endings on develop.

Fix: revert to the Docker invocation, which runs the check in one step (and matches the VS Code Lint task). Header comment updated.

Mirrors ProjectTemplate #279.

🤖 Generated with Claude Code

editorconfig-checker/action-editorconfig-checker only installs the CLI, so 'uses:'
alone never ran the check and CI passed without validating line endings on develop.
Revert to the Docker invocation, which runs the check in one step.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings July 11, 2026 03:59
@codecov

codecov Bot commented Jul 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.28%. Comparing base (92cdb7d) to head (c69b7bc).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #501   +/-   ##
========================================
  Coverage    57.28%   57.28%           
========================================
  Files           15       15           
  Lines         1386     1386           
  Branches        89       89           
========================================
  Hits           794      794           
  Misses         573      573           
  Partials        19       19           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a CI gap where line endings were not actually being validated in the reusable validate-task.yml workflow by switching the editorconfig-checker invocation to a Docker-based run that performs the check in a single step (matching the existing VS Code lint task behavior).

Changes:

  • Replace uses: editorconfig-checker/action-editorconfig-checker with a docker run invocation that actually executes editorconfig-checker.
  • Update workflow header comments to reflect that editorconfig-checker runs via Docker while other doc linters remain SHA-pinned action wrappers.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings July 11, 2026 04:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/validate-task.yml Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit f2f43bf into develop Jul 11, 2026
11 checks passed
@ptr727
ptr727 deleted the fix/editorconfig-run branch July 11, 2026 04:18
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.

2 participants