Repository navigation
chore: release packages - #100
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
f2c25b3 to
2ec5c91
Compare
i1stG
left a comment
There was a problem hiding this comment.
Approved.
Verified independently against the base (fdf3ff6):
- Reproducible, not hand-edited. Applying the PR diff to
fdf3ff6gives tree348815b6, the PR head tree. Running the release script (changeset version && yarn install --mode=update-lockfile) onfdf3ff6with onlyGITHUB_TOKENset regenerates the same348815b6tree. So the branch is exactly what the release tooling produces from currentmain. - Complete. Only #99 and #101 touched
packages/since 0.5.0; both carried minor changesets, both are consumed here, and.changeset/is left with just config and README. Nothing else changes. - Versions and lock agree.
gcb-coregoes 0.5.0 → 0.6.0; thefixedgroup carriesgcb-client/gcb-hostto 0.6.0 with exactgcb-core: 0.6.0dependencies, andyarn.lockmatches (yarn install --immutablepasses). No0.5.0reference remains outside the changelogs. None ofgcb-{core,client,host}@0.6.0is on npm yet, so publish will not collide. - Changelog text is accurate. Both core entries are byte-identical to the deleted changesets (plus the generated prefix). The
run:watchfields match the catalog (actions: read,checks: read, 3300 s,appUser), and thechecks: readrationale is real: gh 2.103.3 (pkg/cmd/run/watch/watch.go) callsshared.GetAnnotationsfor each job, which reads the check-runs annotations endpoint. Thepr:update-branchentry matches the catalog and README. - Checks on this exact tree. 530 tests / 108 suites pass,
yarn docs:actions --checkpasses (README hasrun watchandpr update-branchrows), andyarn pack:checkproduces 0.6.0 tarballs whose core dependency is 0.6.0.
Non-blocking, for whoever merges: the client/host changelogs label their entries "Patch Changes" while the version becomes 0.6.0. That is the fixed group's behavior and exactly what changeset version emits (the dependency-update entry is a patch), not drift. Also yarn changeset status exits 1 on a release branch because nothing is left to consume; CI does not run it, so no gate is affected.
2ec5c91 to
8dc30fb
Compare
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
gcb-core@0.6.0
Minor Changes
#102
9ad2d26Thanks @JounQin! - Add theallowPublicReadandallowForkPushhost opt-ins. Catalog entries can now declarereadOnly: true; withallowPublicRead, such an action can run on a repository verified publicwithout an allowlist entry.
The app identity uses a metadata-only installation token; the App must be installed on the
repository, and the request is refused rather than falling back to anonymous when it is not, because
ghneeds authentication. Bare--as-useruses the authorized person token, and--as-user <login>uses the host account token. The host route performs the same fresh public checkbefore running the action.
Visibility is checked freshly for each request, not cached, bounded at 10 seconds and refused on a
redirect. The check shares GitHub's 60/hour IP quota; an exhausted 403/429 is reported as a rate
limit, a plain 403 as a refusal, and neither as a private repository. Person tokens may themselves
have private access; those forms rely on the visibility check rather than a token scope. A
configured
apiBaseUrlmust now be an HTTPS URL.allowForkPushlets a git credential request through for a public fork whose GitHubparent/source is allowlisted, still limited to the credential path; catalog actions keep the normal
allowlist. Its unauthenticated fork check uses the same deadline and redirect refusal. It needs the
App installed on the fork owner, because the credential still comes from an installation token; a
plain contributor fork without that installation cannot mint one.
#101
fdf3ff6Thanks @JounQin! - Addrun:watchto the action catalog. It polls a workflow run until it finishes, with optional--compact,--exit-statusand--interval. The timeout is 3300 seconds, five minutes below theone-hour installation-token lifetime, so a poll cannot outlive the token. It uses
actions: readandchecks: read(for annotations) and setsappUser.#99
51054d0Thanks @JounQin! - Addpr:update-branchto the action catalog. It takes an optional--rebase, usespull_requests: writeandcontents: write, and setsappUser, so bare--as-userworks throughthe app broker.
appUserfollowspr:edit: updating a branch is an author operation, whileclose/reopen/ready/lock stay host-account only. Bare
--as-userneeds a user token withcontents: write; the recommendedContents: Readtoken is enough for PR editing but not forupdating a branch. The default app route and
--as-user <login>do not depend on that token. For aPR whose head is a fork, the app installation token is scoped to the base repository and cannot
write the head fork; use
--as-user <login>for that case.gcb-client@0.6.0
Patch Changes
9ad2d26,fdf3ff6,51054d0]:gcb-host@0.6.0
Patch Changes
9ad2d26,fdf3ff6,51054d0]:Summary by CodeRabbit