Skip to content

Add editorconfig CRLF default and renormalize workflow YAML#119

Merged
ptr727 merged 2 commits into
developfrom
feature/editorconfig-eol-normalization
Jul 5, 2026
Merged

Add editorconfig CRLF default and renormalize workflow YAML#119
ptr727 merged 2 commits into
developfrom
feature/editorconfig-eol-normalization

Conversation

@ptr727

@ptr727 ptr727 commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Two EOL fixes from the ProjectTemplate audit (reports/esphome-nonroot/audit.md), via the convergence pattern (AUDIT.md section 10):

  1. Add end_of_line = crlf to the .editorconfig [*] block (global default).
  2. Renormalize 5 workflow YAML files to CRLF - they were committed LF against the repo.s own .editorconfig [*.{yml,yaml}] crlf rule (.gitattributes * -text does not renormalize). EOL-only change, no content difference (verified with git diff --ignore-cr-at-eol).

🤖 Generated with Claude Code

ptr727 and others added 2 commits July 5, 2026 10:09
Set end_of_line = crlf on the [*] block so every file type has a defined ending, matching the fleet template.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Five workflow YAML files were committed LF, violating the .editorconfig [*.{yml,yaml}] crlf rule (git .gitattributes * -text does not renormalize). Convert them to CRLF; EOL-only change, no content difference (verified with git diff --ignore-cr-at-eol).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 5, 2026 17:09

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 aligns repository line-ending governance with the ProjectTemplate audit by setting a global CRLF default in .editorconfig and renormalizing selected GitHub Actions workflow YAML files to CRLF, matching the repo’s existing YAML rule.

Changes:

  • Add end_of_line = crlf to the .editorconfig [*] defaults block (while preserving existing LF overrides for *.sh and Dockerfile patterns).
  • Renormalize 5 workflow .yml files to CRLF (EOL-only; no functional workflow logic changes).

Reviewed changes

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

Show a summary per file
File Description
.editorconfig Sets CRLF as the global default line ending (existing per-pattern overrides remain in effect).
.github/workflows/validate-task.yml Renormalize workflow file line endings to CRLF.
.github/workflows/test-pull-request.yml Renormalize workflow file line endings to CRLF.
.github/workflows/publish-release.yml Renormalize workflow file line endings to CRLF.
.github/workflows/build-release-task.yml Renormalize workflow file line endings to CRLF.
.github/workflows/build-docker-task.yml Renormalize workflow file line endings to CRLF.

@ptr727 ptr727 merged commit 7314357 into develop Jul 5, 2026
10 checks passed
@ptr727 ptr727 deleted the feature/editorconfig-eol-normalization branch July 5, 2026 20:43
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