pub struct Pin {
pub name: String,
pub version: String,
pub action: Option<String>,
pub commit: Option<String>,
pub ref_class: Option<String>,
pub used_by: Vec<String>,
pub check: Option<String>,
}Expand description
One pinned tool, with the fields the binary’s readers use; the registry’s prose fields stay in the raw print.
Fields§
§name: StringThe tool’s name, the key a record’s pins map uses.
version: StringThe pinned version.
action: Option<String>The workflow reference — owner/action@ref — where the tool is a
GitHub Action. The ref here is the discovery ref a freshness check
reads; the commit below is what the workflows execute.
commit: Option<String>The immutable execution commit the workflows pin, where the tool is an action.
ref_class: Option<String>How the discovery ref moves: a moving major or minor tag, an exact tag, or a maintained branch. Movement is an update signal, never evidence of an attack.
used_by: Vec<String>The capabilities that use the tool: a capability id, or the id
qualified by the release driver as release.automation/rust where
the capability has that dimension.
check: Option<String>The URL a freshness check queries, where one exists.