stratumiops/action-nodes/fmt-crate.ncl

13 lines
456 B
Plaintext
Raw Normal View History

let base = import "../nickel/stratum-base/stratum-base.ncl" in
{
id = "fmt-crate",
handler = "scripts/nu/fmt.nu",
input_schemas = {},
output_schemas = { "formatted-code" = "schemas/capabilities/formatted-code.ncl" },
compensate = null,
retry = { max = 1, backoff_secs = 5, strategy = 'fixed },
timeout_secs = 60,
atomic = true,
triggers = ["dev.crate.*.modified"],
} | base.NodeDefinition