Skip to content

ci: announce runner.py.json changes to gpustack-ota - #281

Open
yxf0314 wants to merge 1 commit into
gpustack:mainfrom
yxf0314:chore/ota-pre-notify
Open

yxf0314 wants to merge 1 commit into
gpustack:mainfrom
yxf0314:chore/ota-pre-notify

Conversation

@yxf0314

@yxf0314 yxf0314 commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

What

A new workflow, .github/workflows/ota-pre.yml. When a merge to main touches gpustack_runner/runner.py.json, which includes merging the write-back PR pack.yml opens, it dispatches source-changed to gpustack/gpustack-ota. Its Pre workflow then republishes https://ota.gpustack.ai/pre from main (gpustack/gpustack-ota#10). It can also be run by hand, to check the chain or resend an announcement.

Why

So new built-in backend versions are verifiable through OTA as soon as they merge, without waiting for a release or for gpustack to bump its gpustack-runner pin.

Token

actions/create-github-app-token with the org secrets CI_PRT_GENERATOR_ID / CI_PRT_GENERATOR_KEY (the same app pack.yml already uses), limited to permission-contents: write on repositories: gpustack-ota alone, which is all a dispatch needs. Skipped on forks. No new secret.

Before merging

  1. gpustack/gpustack-ota#10 is merged: repository_dispatch only runs workflows on the default branch.
  2. prt-generator's installation covers gpustack-ota (org settings → GitHub Apps → PRT-Generator → Repository access). If it does not, the token step fails.

Verification

The watched path matches gpustack-ota's sources.yaml. The dispatch itself can only be checked after merge: run this workflow by hand and confirm a repository_dispatch run of Pre appears in gpustack-ota.

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@yxf0314
yxf0314 requested a review from gitlawr September 23, 2026 09:15
Dispatch source-changed to gpustack/gpustack-ota when a merge to main touches
gpustack_runner/runner.py.json, so https://ota.gpustack.ai/pre follows main.
The token comes from the prt-generator app and is limited to Contents: write
on gpustack-ota; the workflow can also be run by hand to check or resend the
announcement.
@yxf0314
yxf0314 force-pushed the chore/ota-pre-notify branch from aca35bf to cefd217 Compare September 23, 2026 10:18
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