Enforce one-line Actions run steps #673

Closed
opened 2026-07-24 00:10:20 +00:00 by coilyco-ops · 0 comments
Member

Inline multi-line scripts in GitHub and Forgejo Actions workflows have caused repeated CI incidents. Add a catalog pre-commit hook that makes workflow YAML orchestration-only.

Acceptance criteria:

  • Reject literal and folded block scalars for step run: values.
  • Reject quoted or plain run: scalars that span physical lines or decode to embedded newlines.
  • Cover .github/workflows, .forgejo/workflows, and composite action.yml / action.yaml definitions.
  • Report precise path, line, and remediation guidance.
  • Migrate agentic-os workflows and composite actions to tracked scripts or one-line ward/script launchers.
  • Retain actionlint and Forgejo Runner validation as complementary checks.
  • Add the new hook to the released catalog and document the policy.
  • Run the full test and pre-commit gates.
Inline multi-line scripts in GitHub and Forgejo Actions workflows have caused repeated CI incidents. Add a catalog pre-commit hook that makes workflow YAML orchestration-only. Acceptance criteria: * Reject literal and folded block scalars for step `run:` values. * Reject quoted or plain `run:` scalars that span physical lines or decode to embedded newlines. * Cover `.github/workflows`, `.forgejo/workflows`, and composite `action.yml` / `action.yaml` definitions. * Report precise path, line, and remediation guidance. * Migrate agentic-os workflows and composite actions to tracked scripts or one-line ward/script launchers. * Retain actionlint and Forgejo Runner validation as complementary checks. * Add the new hook to the released catalog and document the policy. * Run the full test and pre-commit gates.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/agentic-os#673
No description provided.