diff --git a/scripts/deploy-standard-workflows.sh b/scripts/deploy-standard-workflows.sh index 3daf65b6e..2a6ce6a21 100755 --- a/scripts/deploy-standard-workflows.sh +++ b/scripts/deploy-standard-workflows.sh @@ -433,6 +433,12 @@ template_requires_s7635_marker() { grep -qE '^[[:space:]]*secrets:[[:space:]]+inherit([[:space:]]|$)' "$1" } +# stub_has_inherited_secrets — 0 if the stub content on stdin carries a real +# `secrets: inherit` YAML line. +stub_has_inherited_secrets() { + grep -qE '^[[:space:]]*secrets:[[:space:]]+inherit([[:space:]]|$)' +} + # stub_has_s7635_marker — 0 if the stub content on stdin carries the # `# NOSONAR(githubactions:S7635)` marker on a real `secrets: inherit` line. stub_has_s7635_marker() { @@ -601,6 +607,70 @@ merge_guarded_surfaces() { return 0 } +# stub_has_stale_stable_header