-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
Description
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
- Review the workflow files for blog-auditor and unbloat-docs
- Identify lines where flags appear as command names
- Check for:
- Missing command before flags
- Incorrect line breaks in multi-line commands
- Missing test brackets
[ ]in conditional statements
- 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 --actionlintshows no SC2215 warnings - Run
gh aw compile unbloat-docs --actionlintshows 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
Copilot