Skip to main content

trigger_slug

Function trigger_slug 

Source
pub fn trigger_slug(kind: TriggerKind, dedup_id: &str) -> String
Expand description

Deterministic ticket slug for a trigger: trigger-ci-<run id> / trigger-pr-<number>. The dedup identity is numeric in both accepted payloads; the filter keeps the slug valid even if a future payload shape changes that.