Repository navigation
fix: run editorconfig-checker via Docker (its action is setup-only) - #279
Merged
Merged
Conversation
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]>
Contributor
There was a problem hiding this comment.
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:latestinvocation in the PR CI workflow. - Update
AGENTS.mdto 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. |
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bug:
editorconfig-checker/action-editorconfig-checkeronly installs the CLI — its own README example adds a separaterun: editorconfig-checkerstep. #276 useduses: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:latestbecause its action is install-only.Sibling fixes: NxWitness (also merged), Utilities #401, LanguageTags #262.
🤖 Generated with Claude Code