CI: skip main builds for tagged or docs-only commits
Firmware / build (push) Successful in 3m56s

A main push now skips itself when its commit already carries a v* tag (the tag
build covers it - release with git push --follow-tags) or when it only changes
wiki/** or *.md. Checked inside the job, so tag builds are never path-filtered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 23:58:32 +02:00
parent 51fd4a868a
commit 29711fa25e
4 changed files with 40 additions and 2 deletions
+2
View File
@@ -24,6 +24,8 @@ Controller A `ota install` ◄──────┘ (parked, Wi-Fi joined)
new image PENDING_VERIFY → confirmed after 30 s uptime, else bootloader rolls back
```
**To release:** `git tag -a vX.Y.Z -m "..." && git push --follow-tags origin main` — one push, one (tag) build: a `main` push skips itself when its commit already has a `v*` tag, and when it only changes `wiki/**` or `*.md` (checked inside the job, so a tag build is never skipped by a path filter).
Push to `main` (no tag) builds a rolling **pre-release `main-latest`** — unsigned, no manifest, for bench/USB testing. `/releases/latest` skips pre-releases, so the car is never offered it `(repo)`.
## Status: VERIFIED end-to-end `(verified 2026-09-26, bench, USB power, Wi-Fi Personal1)`