mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[PR #108] [MERGED] Run approved-PR CI builds with PR-stamped UF2 version metadata #204
Labels
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
safijari/openpuck#204
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/safijari/openpuck/pull/108
Author: @Copilot
Created: 7/3/2026
Status: ✅ Merged
Merged: 7/3/2026
Merged by: @safijari
Base:
main← Head:copilot/tag-version-091📝 Commits (9)
2a41f58feat: add semver-driven release taggingc5a21dcstyle: format webusb build-id fallback lineeff673cchore: tighten provenance comments726e900fix: tighten semver tag filters73a748afix: clarify version bootstrap and fallback check88a9095fix: harden semver matching for version tags342ea2dfix: validate pushed tags before release build46f2565Trigger build on PR approval with PR-specific versioningce1c485Run approved PR builds with PR-aware UF2 version metadata📊 Changes
7 files changed (+157 additions, -31 deletions)
View changed files
📝
.github/workflows/build.yml(+41 -0)📝
.github/workflows/release.yml(+77 -10)📝
OpenPuck/build_info.h(+8 -4)📝
OpenPuck/webusb_config.cpp(+9 -7)📝
docs/BUILD_AND_DEPLOY.md(+1 -1)📝
docs/index.html(+5 -5)📝
gen_version.sh(+16 -4)📄 Description
Approved PRs were not guaranteed to produce UF2 artifacts with PR-identifiable version metadata. This updates CI so approval events trigger the build path and embeds
base version + PR number + commitinto build identity.Approved review trigger path
pull_request_review(submitted) to the build workflow.review.state == approved.PR-specific version identity
Resolve build versionstep to compute:BASE_VERSIONfrom latest semver tag (fallback0.9.1)<base>-pr<PR_NUMBER>+<SHORT_SHA>gen_version.shviaOPK_BUILD_VERSION.pull_requestandpull_request_reviewpayload shapes.Workflow token scope
contents: read🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.