fix(ci): validate the decisions reconcile area input and suppress CKV_GHA_7

Merged
JI
23d ago
+20-2

Fixes the IaC scan violation (Checkov CKV_GHA_7) in .github/workflows/decisions_reconcile.yml. The rule requires workflow_dispatch inputs to be empty, so that user parameters cannot change the build output.

The area and dry_run inputs stay, because a manual reconcile of one area is useful:

  • CKV_GHA_7 is suppressed inline with a reason. The inputs only select the reconcile scope and a dry run, and the workflow builds no artifact. The scan still reports the result, as suppressed in source.
  • area now accepts only the page name of an area in docs/decisions/README.md, for example artifact-cas. The workflow passes the area name from the index to Claude's prompt, never the input text, so no free text reaches the prompt. An unknown value fails the run before Claude starts.

The violation came in with #3795, which merged while the Chainloop PR Validation check failed.

Related: PFM-8171

This PR was prepared with AI assistance (Claude Code).