Skip to main content

narrowing_machine

Function narrowing_machine 

Source
pub fn narrowing_machine(marker: Option<&str>) -> bool
Expand description

Whether this container’s machine narrows its GitHub tokens: it has a gh-agent (AGENTMUX_PUBLISH_GUARD is 1, or older-gh-agent where it is installed but too old to narrow, which srv then says out loud). With 0, no value or any other value there is no gh-agent on the machine, the container’s token comes from the person’s own GitHub connection, and its gh commands run as they always did.