Visitar URL original
Fix canonical WORKFLOW.md EOL note + repo-config JSON indent by ptr727 · Pull Request #264 · ptr727/ProjectTemplate · GitHub
Skip to content

Fix canonical WORKFLOW.md EOL note + repo-config JSON indent - #264

Merged
ptr727 merged 1 commit into
developfrom
chore/canonical-fixups
Jul 9, 2026
Merged

ptr727 merged 1 commit into
developfrom
chore/canonical-fixups

Conversation

@ptr727

@ptr727 ptr727 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Two fixes to canonical source files that otherwise propagate to every repo (caught while propagating them to MediaTools — Copilot flagged both):

  • WORKFLOW.md line-endings note: said workflow YAML is "CRLF here", but the fleet pins .github/workflows/*.{yml,yaml} to LF (Actions/Dependabot rewrite it). Now states workflow YAML is LF; other files follow .editorconfig.
  • repo-config/{develop,main}.json: reformat from jq's default 2-space to 4-space to match the fleet JSON convention ([*.json] indent_size = 4, as registry/repos.json and .vscode/tasks.json use). Updated the README regen command to jq --indent 4 so regeneration stays 4-space. Semantically identical (rulesets diff via normalized jq).

editorconfig-checker + spec/validate.py pass.

🤖 Generated with Claude Code

Two canonical-source fixes that otherwise propagate to every repo:

- WORKFLOW.md: the line-endings note said workflow YAML is "CRLF here", but the
  fleet pins .github/workflows/*.{yml,yaml} to LF (Actions and Dependabot rewrite
  it). State that workflow YAML is LF and other files follow .editorconfig.
- repo-config/{develop,main}.json: reformat from jq's default 2-space to 4-space
  to match the fleet JSON convention ([*.json] indent_size = 4, as registry and
  tasks.json use); update the README regen command to jq --indent 4 so it stays.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 8, 2026 23:23

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

Updates two canonical governance sources so their guidance and generated artifacts match the fleet’s actual conventions (workflow YAML LF; JSON formatted with 4-space indents).

Changes:

  • Correct the WORKFLOW.md line-endings note to state that workflow YAML is LF due to Actions/Dependabot rewriting behavior.
  • Reformat repo-config ruleset JSON outputs to 4-space indentation and update the regeneration command accordingly.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
WORKFLOW.md Fixes the documented workflow YAML EOL convention to match the enforced LF behavior.
repo-config/README.md Updates the documented jq regeneration command to output 4-space indented JSON.
repo-config/main.json Reindents the canonical main ruleset JSON to 4 spaces (no semantic change).
repo-config/develop.json Reindents the canonical develop ruleset JSON to 4 spaces (no semantic change).

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

@ptr727
ptr727 merged commit 2376271 into develop Jul 9, 2026
8 checks passed
@ptr727
ptr727 deleted the chore/canonical-fixups branch July 9, 2026 02:01
ptr727 added a commit that referenced this pull request Jul 9, 2026
…spec/registry updates (#267)

Promotion of `develop` -> `main`, batching the merged PRs since the last
promotion:

- **#266** — merge-bot auto-merges every Dependabot tier (drop
semver-major skip) + docs.
- **#265** — WORKFLOW.md D1.4 correction (workflow changes are linted in
CI).
- **#264** — canonical WORKFLOW.md EOL note + repo-config JSON indent.
- **#263** — spec: CODECOV_TOKEN for csharp/python repos + coverage
policy.
- **#262** — registry: mark MediaTools conformant.
- **#261** — codify general repository settings + promotion-safety
learnings.

No code beyond template governance/config/spec; `spec/validate.py`
green.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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