# gardener/recipes/shellcheck-violations.toml — ShellCheck step fails
#
# Trigger: Step named *shellcheck* fails with SC#### codes in output
# Playbook: parse per-file, create one issue per file, label backlog

name        = "shellcheck-violations"
description = "ShellCheck step fails with SC#### codes in output"
priority    = 40

[trigger]
step_name = '(?i)shellcheck'
output    = 'SC\d{4}'

[[playbook]]
action      = "shellcheck-per-file"
description = "Parse output by file, create one fix issue per file with specific SC codes"

[[playbook]]
action      = "label-backlog"
description = "Label created issues as backlog"
