Repository navigation
feat(workflow): mint a GitHub App token in devkit-upgrade (App-only identity) - #1304
Merged
Merged
Conversation
…dentity) Replace the static DEVKIT_UPGRADE_TOKEN secret with a per-run installation token minted from DEVKIT_UPGRADE_APP_ID + DEVKIT_UPGRADE_APP_PRIVATE_KEY via SHA-pinned actions/create-github-app-token (the pattern prepare-release.yml already uses). A static PAT is no longer supported: user-bound, expiring, and single-owner across the vig-os/exoma/exo-pet consumer orgs. Fail-fast names both secrets; checkout/push, the adoption issue and the PR all authenticate as the App so the PR still triggers CI. Contract change lands on the release branch: #1296 has never shipped, so 1.5.0 ships App-only with no migration. Refs: #1302
c-vigo
added a commit
that referenced
this pull request
Jul 30, 2026
…1307) ## Summary Restart of the 1.5.0 finalization (maintainer-approved): the first live `devkit-upgrade` dispatch exposed #1305 (runtime auto-detection picks the runner's broken podman → `crun: unknown version specified` at the install step). Since nothing consumed the final (draft release deleted, tag deleted, `latest`/`main`/promote untouched), the fix ships **within 1.5.0** instead of a same-day 1.5.1. - Merge `dev` (PR #1306: docker-first daemon-probed detection + `--docker` in the upgrade template) into `release/1.5.0` — clean merge, App-era template keeps all #1302/#1304 content plus the new flag. - `prepare-changelog reset-version` restores the `- TBD` heading (finalize will re-stamp). - #1305 changelog entry added to the frozen 1.5.0 section (was missed in #1306 — dev's Unreleased stays empty since the fix ships here). Precedent: 1.4.0 unfreeze (PR #1215). After merge: rc3, focused revalidation (delta is #1305 only), re-approve, re-finalize. Refs: #1305
c-vigo
added a commit
that referenced
this pull request
Jul 30, 2026
#1310) ## Summary The 1.5.1 re-cut (maintainer decision): devkit-smoke-test's tag \`1.5.0\` is tombstoned by org-enforced release immutability (its 1.5.0 was published mid-train and deleted during restart #1), so the cross-repo promote gate can never pass for 1.5.0. The fully validated content re-releases as **1.5.1**; 1.5.0 becomes a ghost (devkit's never-published tag + draft get deleted). - Merges \`release/1.5.0\` back into dev — the sync promote would have performed: #1302/#1304 (App-only auth), #1305 tail, #1308/#1309 (verified API publish), release-branch changelog state. - Changelog: empty finalize scaffold excised, dated 1.5.0 section unprepared back to \`## Unreleased\` so \`prepare-release 1.5.1\` freezes it. All rc4 validation evidence (devkit#1301 evidence trail) applies verbatim — 1.5.1's content is byte-identical apart from the version string. Refs: #1308
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.
Summary
Closes #1302 — the devkit-upgrade workflow (#1296, unreleased) now authenticates exclusively via a dedicated GitHub App: a per-run installation token is minted from the
DEVKIT_UPGRADE_APP_ID+DEVKIT_UPGRADE_APP_PRIVATE_KEYsecrets with SHA-pinnedactions/create-github-app-token(the exact pattern devkit's ownprepare-release.ymluses). The staticDEVKIT_UPGRADE_TOKENsecret is removed with no fallback: a PAT is user-bound, expiring, and single-owner across the vig-os / exoma-ch / exo-pet consumer orgs.[1.5.0] - TBDentry for feat(workflow): self-polling devkit-upgrade workflow (auto adoption PR in consumers) #1296 is updated in place (unreleased section;.devcontainer/CHANGELOG.mdcopy synced by the hook).Targeted at
release/1.5.0: #1296 has never shipped, so 1.5.0 ships App-only with zero migration debt.Verification
TDD:
test_requires_app_identity_and_never_uses_github_token_for_prrewritten first (RED at 0e3a57c), template reworked to GREEN (15/15 intests/test_workflow_devkit_upgrade.py); 278 bats ok incl. rendered-template actionlint; full pre-commit suite green. Live dispatch proof lands with the RC validation plan (App provisioning per #1302).Refs: #1302