Repository navigation
Conversation
Bring the repo up to the fleet operational (live-config) baseline: - Full governance baseline: CODESTYLE.md, WORKFLOW.md, HISTORY.md, .github/copilot-instructions.md (owner/repo filled), cspell.json (with ESPHome/USB domain terms), version.json (NBGV, for dispatch releases). - CI: rename the aggregator to the canonical ruleset-bound name "Check pull request workflow status job"; modernize linters to the pinned action wrappers and add spell-check; operational triggers - push to develop (advisory) + pull_request to main (enforced promotion gate). - Add publish-release.yml: dispatch-only source release (NBGV tag + source zip + README + LICENSE); operational repos never auto-publish. Files copied from ptr727/ProjectTemplate are converted to LF to match this repo's all-LF .editorconfig. Full esphome-config validation in CI is a follow-up (needs the ESPHome image + device secrets). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Whitelist the device, tool, and path terms already present in README.md and the repo-specific AGENTS.md (esptool, reflash, ceilsense, smarthomeshop, the PIETER-DESKTOP path fragment, etc.) so the newly-enabled spell-check passes. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
There was a problem hiding this comment.
Pull request overview
This PR promotes the current develop snapshot to main and establishes an "operational" workflow baseline for this ESPHome config repository, including governance documentation and a dispatch-only source release flow.
Changes:
- Add governance and workflow contract documentation (
WORKFLOW.md,CODESTYLE.md,HISTORY.md) plus repo-level tooling configs (cspell.json,version.json). - Update PR CI to match the operational model (advisory lint on
developpushes, enforced lint gate ondevelop -> mainpromotion PRs). - Add a manual (
workflow_dispatch) source-release workflow using NBGV versioning.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| WORKFLOW.md | Adds the workflow contract, guarantees, and audit methodology for the fleet workflows. |
| version.json | Introduces Nerdbank.GitVersioning configuration for tagging and release classification. |
| HISTORY.md | Adds template-oriented release history documenting the repo’s repurpose and baseline version. |
| cspell.json | Adds shared CSpell configuration and dictionary words for governance docs and workflows. |
| CODESTYLE.md | Adds fleet-wide formatting, linting, and language-specific style conventions. |
| .github/workflows/test-pull-request.yml | Updates CI triggers and lint steps for the operational develop push and main promotion gate. |
| .github/workflows/publish-release.yml | Adds dispatch-only release publishing (tag + source release assets). |
| .github/copilot-instructions.md | Adds Copilot-specific repository conventions and a review runbook. |
Comment on lines
+48
to
+49
| - name: Check EditorConfig step | ||
| run: docker run --rm -v "$PWD":/check --workdir /check mstruebing/editorconfig-checker:latest |
Comment on lines
+49
to
+66
| # Skip create on an existing tag (no-op republish). A re-dispatch refreshes it. | ||
| - name: Check for existing release step | ||
| id: release-exists | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| TAG: ${{ steps.nbgv.outputs.SemVer2 }} | ||
| run: | | ||
| set -euo pipefail | ||
| if gh release view "$TAG" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then | ||
| echo "exists=true" >> "$GITHUB_OUTPUT" | ||
| else | ||
| echo "exists=false" >> "$GITHUB_OUTPUT" | ||
| fi | ||
|
|
||
| # target_commitish pins the tag to the exact built commit (GitCommitId), not the default branch. The release is | ||
| # the tag plus GitHub's auto source archive, README, and LICENSE - no build assets (source-only). | ||
| - name: Create GitHub release step | ||
| if: ${{ steps.release-exists.outputs.exists == 'false' || github.event_name == 'workflow_dispatch' }} |
ptr727
added a commit
that referenced
this pull request
Jul 22, 2026
Promote operational baseline to main
ptr727
added a commit
that referenced
this pull request
Jul 22, 2026
Promote operational baseline to main
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.
Bless the current known-good
developsnapshot ontomain.Adopts the fleet operational workflow model (registry
workflowModel: operational):developtakes direct signed commits (advisory CI), and thisdevelop -> mainpromotion is the enforced gate.Check pull request workflow status job(lint/validation only; operational triggers).publish-release.ymlfor dispatch-only source releases.lineEndings: lf).🤖 Generated with Claude Code