Skip to content

[task] Fix SC2215 flag-as-command issues in blog-auditor and unbloat-docs #3543

@github-actions

Description

@github-actions

Objective

Review and fix command syntax issues in blog-auditor and unbloat-docs workflows that are triggering SC2215 warnings.

Context

Static analysis identified 2 SC2215 warnings ("This flag is used as a command name. Bad line break or missing [ .. ]?") which may indicate formatting problems or incorrect shell syntax.

Related to discussion #3527.

Approach

  1. Review the workflow files for blog-auditor and unbloat-docs
  2. Identify lines where flags appear as command names
  3. Check for:
    • Missing command before flags
    • Incorrect line breaks in multi-line commands
    • Missing test brackets [ ] in conditional statements
  4. Fix syntax issues while preserving functionality

Files to Modify

  • .github/workflows/blog-auditor.md
  • .github/workflows/unbloat-docs.md

Acceptance Criteria

  • Command syntax corrected in both workflows
  • Run gh aw compile blog-auditor --actionlint shows no SC2215 warnings
  • Run gh aw compile unbloat-docs --actionlint shows no SC2215 warnings
  • Workflows compile successfully
  • Test workflows to ensure functionality unchanged

Impact

Eliminates 2 potential syntax errors and improves workflow reliability.
Related to #3527

AI generated by Plan Command for discussion #3527

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions