Skip to content

docs: the whole hosted-mode setup, in order, with both workflow files - #203

Merged
askalf merged 1 commit into
mainfrom
claude/nifty-bell-1lpk8e
Nov 10, 2026
Merged

askalf merged 1 commit into
mainfrom
claude/nifty-bell-1lpk8e

Conversation

@askalf

@askalf askalf commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

What changes, and why

The README's "Without a runner host" section is a reference: the inputs, the secrets and what to know before choosing hosted mode. A repository adopting it also has to work out the order and write two workflow files from fragments.

docs/hosted-quickstart.md is that order on one page:

  1. the reviewer account and its token, and why it must be a second account with write access;
  2. the three secrets, and which workflow can read which;
  3. .github/workflows/redline.yml in full, for hosted mode, with reviewer-login and dispatch-actor;
  4. .github/workflows/redline-post.yml in full;
  5. the ruleset, and why the review job stays an unrequired check;

then what a pull request sees, how a pull request that changes a workflow or comes from a fork is reviewed by a dispatch, and that nothing moves an outside repository's pin for it.

The README's hosted section links to it. No workflow, script or action changes.

How it is tested: the two workflow files were extracted from the page, with a commit of main and sample logins filled in, and checked three ways: actionlint 1.7.12 reports nothing on either; callerPin from post.mjs reads the review pin and its redline-ref as one sha; missingGrants from pin.mjs finds no permission the called workflows ask for that the two callers do not grant. node test-all.mjs passes (all 12).

Not tested: the page end to end on a repository outside askalf. The review step itself has not yet run in hosted mode against a real model.

Callers: no. docs/ and the README are outside the paths the pin bump watches.

The README's hosted section is a reference: the inputs and what to know
before choosing the mode. A repository adopting it also needs the order:
the reviewer account, the three secrets, redline.yml and redline-post.yml
in full, and the ruleset. docs/hosted-quickstart.md is that page, and says
how a pull request that changes a workflow, or comes from a fork, is
reviewed by a dispatch.
@askalf
askalf marked this pull request as ready for review November 10, 2026 12:26

@sprayberry-redline sprayberry-redline left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Verdict: approve. The hosted-mode guide supplies matching review and post callers, scopes the secrets appropriately, and documents dispatch handling for workflow and fork pull requests. Its workflow examples align with the reusable workflow inputs and the post workflow's trust conditions.

@askalf
askalf merged commit 153fcd1 into main Nov 10, 2026
14 of 16 checks passed
@askalf
askalf deleted the claude/nifty-bell-1lpk8e branch November 10, 2026 12:28
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.

3 participants