Expand description
GitHub, through the person’s own gh login.
Every request is one gh api process with its arguments passed as an
argument vector — never a shell string — and any body on stdin
(--input -), so nothing from a repository name, a file or a DID is ever
parsed by a shell or read as a flag. Each path segment is percent-encoded
(including { and }, which gh api would otherwise fill in from the
current directory’s repository).
Structs§
- Gh
gh apiagainst one host.- Reply
- One
gh apireply. - Repo
Facts - What the repository and its account say about who owns it.
Functions§
- apply
- Run
stepsin order, check-then-apply, stopping at the first failure (as the bridge does: the ruleset must never land before the workflow). - describe
- A one-line description of
guardfor the report.personal: the repository belongs to a user account rather than an organisation. - owners
- The owners the guard is chosen from: the person running this (on a
personal repository, the account holder — the only admin one can have)
plus each
--code-owner, counted once per account id. - path
a/b/cfrom segments, each encoded.- plan
- The adapter’s own plan for this repository under
guard. - repo_
facts - Look the repository up and check the caller can administer it.
- segment
- Percent-encode one path segment: everything but RFC 3986 unreserved.