Skip to content

ci: fresh-install post-release trigger via workflow_run (drop PAT dispatch)#199

Merged
Sunrisepeak merged 1 commit into
mainfrom
ci/fresh-install-workflow-run
Jul 7, 2026
Merged

ci: fresh-install post-release trigger via workflow_run (drop PAT dispatch)#199
Sunrisepeak merged 1 commit into
mainfrom
ci/fresh-install-workflow-run

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Replaces the PAT-based dispatch step added on the 0.0.83 train (commit 1db0816), which never worked: XIM_PKGINDEX_TOKEN is a fine-grained PAT whose resource owner is the index org — it structurally cannot cover this repository, so every release logged HTTP 403 behind the non-blocking fallback.

Replacement: ci-fresh-install.yml gains workflow_run: [release] / completed — a platform-generated event exempt from GITHUB_TOKEN trigger suppression, requiring no cross-repo PAT and no secret maintenance. Every job carries if: event != workflow_run || run.conclusion == success so only successful releases trigger verification. release: published is kept for manually created releases; workflow_dispatch and the daily schedule are unchanged. The dead dispatch step in release.yml is removed with a pointer comment.

Verification note: the workflow_run path can only fire for real on the next release; this PR is validated by YAML/workflow static checks + the unchanged dispatch path (manually exercised throughout 0.0.83/0.0.84).

…patch)

The dispatch step added on the 0.0.83 train never worked: it borrowed
XIM_PKGINDEX_TOKEN, whose fine-grained resource owner is the index org and
therefore cannot cover this repository (HTTP 403 on every release, hidden
by the non-blocking fallback). Replace it with the mechanism that needs no
token at all: ci-fresh-install now declares `workflow_run: [release]` —
a platform-generated event exempt from GITHUB_TOKEN trigger suppression —
with a success guard on every job. `release: published` stays for
manually created releases; workflow_dispatch and the daily schedule are
unchanged.
@Sunrisepeak Sunrisepeak merged commit 250b068 into main Jul 7, 2026
6 of 7 checks passed
@Sunrisepeak Sunrisepeak deleted the ci/fresh-install-workflow-run branch July 7, 2026 21:03
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.

1 participant