Repository navigation
docs: the whole hosted-mode setup, in order, with both workflow files - #203
Merged
Merged
Conversation
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
marked this pull request as ready for review
November 10, 2026 12:26
sprayberry-redline
approved these changes
Nov 10, 2026
sprayberry-redline
left a comment
Collaborator
There was a problem hiding this comment.
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.
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.
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.mdis that order on one page:.github/workflows/redline.ymlin full, for hosted mode, withreviewer-loginanddispatch-actor;.github/workflows/redline-post.ymlin full;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
mainand sample logins filled in, and checked three ways:actionlint1.7.12 reports nothing on either;callerPinfrompost.mjsreads the review pin and itsredline-refas one sha;missingGrantsfrompin.mjsfinds no permission the called workflows ask for that the two callers do not grant.node test-all.mjspasses (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.