Skip to content

chore: release packages - #100

Merged
JounQin merged 1 commit into
mainfrom
changeset-release/main
Nov 5, 2026
Merged

JounQin merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

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 9ad2d26 Thanks @JounQin! - Add the allowPublicRead and allowForkPush host opt-ins. Catalog entries can now declare
    readOnly: true; with allowPublicRead, such an action can run on a repository verified public
    without 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
    gh needs authentication. Bare --as-user uses the authorized person token, and
    --as-user <login> uses the host account token. The host route performs the same fresh public check
    before 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 apiBaseUrl must now be an HTTPS URL.

    allowForkPush lets a git credential request through for a public fork whose GitHub
    parent/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 fdf3ff6 Thanks @JounQin! - Add run:watch to the action catalog. It polls a workflow run until it finishes, with optional
    --compact, --exit-status and --interval. The timeout is 3300 seconds, five minutes below the
    one-hour installation-token lifetime, so a poll cannot outlive the token. It uses actions: read and
    checks: read (for annotations) and sets appUser.

  • #99 51054d0 Thanks @JounQin! - Add pr:update-branch to the action catalog. It takes an optional --rebase, uses
    pull_requests: write and contents: write, and sets appUser, so bare --as-user works through
    the app broker. appUser follows pr:edit: updating a branch is an author operation, while
    close/reopen/ready/lock stay host-account only. Bare --as-user needs a user token with
    contents: write; the recommended Contents: Read token is enough for PR editing but not for
    updating a branch. The default app route and --as-user <login> do not depend on that token. For a
    PR 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

gcb-host@0.6.0

Patch Changes

Summary by CodeRabbit

  • New Features
    • Version 0.6.0 includes a command to monitor workflow runs, with options for output, polling interval, and exit status.
    • Includes a command to update pull request branches, with an option to rebase. Updates require suitable permissions; fork-branch updates through named-account routes are limited.
    • Supports host opt-ins for public reads and fork pushes, subject to repository visibility, token, URL, and credential requirements.
  • Release Updates
    • Updated the client, core, and host packages to version 0.6.0.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates gcb-core, gcb-client, and gcb-host release metadata to version 0.6.0. It adds changelog entries, removes three changesets, and updates client and host dependencies on gcb-core.

Changes: 0.6.0 package release

Layer / File(s) Summary
Core release metadata
.changeset/allow-public-read.md, .changeset/catalog-run-watch.md, .changeset/catalog-update-branch.md, packages/core/CHANGELOG.md, packages/core/package.json
The core changelog documents public-read and fork-push options, run:watch, and pr:update-branch. The related changesets are removed, and the core package version changes to 0.6.0.
Client and host release metadata
packages/client/CHANGELOG.md, packages/client/package.json, packages/host/CHANGELOG.md, packages/host/package.json
The client and host changelogs record the 0.6.0 release. Both package versions and their gcb-core dependency references change to 0.6.0.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Possibly related issues

Possibly related PRs

Suggested reviewers: jounqin

Merge Risk: Minimal · up to 8dc30

The package versions and dependency references align for the 0.6.0 release. No identified issue currently prevents merging.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: releasing the packages at version 0.6.0.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f918b4fc-9938-43f9-b332-01cf391d14f9
Commits

Reviewing files that changed from the base of the PR and between 2ec5c91 and 8dc30fb.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 4

  • .changeset/allow-public-read.md
  • packages/client/CHANGELOG.md
  • packages/core/CHANGELOG.md
  • packages/host/CHANGELOG.md
Files with no reviewable changes: 1

  • .changeset/allow-public-read.md
Files skipped from review as they are similar to previous changes: 3

  • packages/client/CHANGELOG.md
  • packages/host/CHANGELOG.md
  • packages/core/CHANGELOG.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from f2c25b3 to 2ec5c91 Compare November 5, 2026 08:31

@i1stG i1stG left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

Verified independently against the base (fdf3ff6):

  • Reproducible, not hand-edited. Applying the PR diff to fdf3ff6 gives tree 348815b6, the PR head tree. Running the release script (changeset version && yarn install --mode=update-lockfile) on fdf3ff6 with only GITHUB_TOKEN set regenerates the same 348815b6 tree. So the branch is exactly what the release tooling produces from current main.
  • 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-core goes 0.5.0 → 0.6.0; the fixed group carries gcb-client/gcb-host to 0.6.0 with exact gcb-core: 0.6.0 dependencies, and yarn.lock matches (yarn install --immutable passes). No 0.5.0 reference remains outside the changelogs. None of gcb-{core,client,host}@0.6.0 is 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:watch fields match the catalog (actions: read, checks: read, 3300 s, appUser), and the checks: read rationale is real: gh 2.103.3 (pkg/cmd/run/watch/watch.go) calls shared.GetAnnotations for each job, which reads the check-runs annotations endpoint. The pr:update-branch entry matches the catalog and README.
  • Checks on this exact tree. 530 tests / 108 suites pass, yarn docs:actions --check passes (README has run watch and pr update-branch rows), and yarn pack:check produces 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.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 2ec5c91 to 8dc30fb Compare November 5, 2026 16:36
@JounQin
JounQin enabled auto-merge November 5, 2026 16:37
@JounQin
JounQin added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit 539cb3a Nov 5, 2026
7 checks passed
@JounQin
JounQin deleted the changeset-release/main branch November 5, 2026 16:43
@coderabbitai coderabbitai Bot mentioned this pull request Nov 11, 2026
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.

2 participants