ci: /snapshot PR-comment alpha release (write-access gated)#108
Merged
Conversation
1749915 to
cc6bb7a
Compare
m-hall
approved these changes
Jul 13, 2026
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.
Adds a
/snapshotcommand: comment/snapshoton any PR and CI publishes an alpha of the changed@plextv/*packages so you can test the change in a consumer (e.g. the Plex client) without cutting a real release. Same idea as Luma's snapshot workflow, with a stricter trigger gate.How it works
issue_commentwith body exactly/snapshoton a PR.author_associationMEMBER/OWNER, set server-side, private members included).admin/maintain/write) via the API.changeset status --since origin/main), thenchangeset version --snapshot <PR#>→ versions like0.0.0-<PR#>-<datetime>.ci:publish --tag snapshot --no-git-tag: thesnapshotdist-tag keeps these offlatest. Same npm OIDC auth asrelease-packages.yml(id-token: write, no token secret).Consume it
or pin the
snapshottag. In the Plex client, point the@plextv/*catalog:entries at the version.Two things to know before this is useful
issue_commentworkflows always run the file on the default branch, so/snapshotwon't work until this is merged tomain. It can't be tested from this PR itself.@plextv/*'s trusted-publisher config only allowsrelease-packages.yml, the OIDC publish here will 401 untilsnapshot.ymlis added as an authorized trusted publisher for each package (or anNPM_TOKENfallback is wired in). Worth checking the npm side before relying on it.First real use: merge this, then comment
/snapshoton #107 to get an alpha of the whole embed burst.