Skip to content

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

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 own README example adds a separate run: editorconfig-checker step. #276 used uses: with no run step, so the "Check line endings" step installed the CLI and passed without ever validating line endings. CI was silently green on that check.

Fix: revert to the Docker invocation (docker run … mstruebing/editorconfig-checker:latest), which runs the check in one step and matches the VS Code Lint task. AGENTS.md updated: the doc linters are pinned action wrappers; editorconfig-checker runs via Docker :latest because its action is install-only.

Sibling fixes: NxWitness (also merged), Utilities #401, LanguageTags #262.

🤖 Generated with Claude Code

editorconfig-checker/action-editorconfig-checker only installs the CLI (its
example adds a separate run step), so 'uses:' alone never ran the check and CI
silently passed without validating line endings on develop. Revert to the Docker
invocation, which runs the check in one step. Update AGENTS.md accordingly.

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes a CI gap where line-ending validation could pass without actually running editorconfig-checker, by switching the workflow to invoke the tool directly via Docker and updating the repo guidance to match.

Changes:

  • Replace the editorconfig-checker GitHub Action step with a docker run ... mstruebing/editorconfig-checker:latest invocation in the PR CI workflow.
  • Update AGENTS.md to document that CI uses pinned action wrappers for most doc linters, but runs editorconfig-checker via Docker because its action is install-only.

Reviewed changes

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

File Description
AGENTS.md Updates lint-surface documentation to reflect Docker-based editorconfig-checker execution in CI.
.github/workflows/test-pull-request.yml Runs editorconfig-checker via Docker so line endings are actually validated during CI lint.

Comment thread .github/workflows/test-pull-request.yml Resolved
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
Contributor

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 2 out of 2 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/test-pull-request.yml Resolved
Comment thread .github/workflows/test-pull-request.yml Resolved
Comment thread AGENTS.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 2 out of 2 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit 6f41906 into develop Jul 11, 2026
8 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