Skip to content

[task] Fix SC2086 missing quotes in super-linter workflow #3542

@github-actions

Description

@github-actions

Objective

Review and fix variable quoting issues in the super-linter workflow to address 3 SC2086 shellcheck warnings.

Context

Static analysis identified 3 instances of SC2086 ("Double quote to prevent globbing and word splitting") in the super-linter workflow. This is a minor code quality issue that could lead to unexpected behavior with filenames containing spaces or glob characters.

Related to discussion #3527.

Approach

  1. Review the super-linter workflow markdown file (.github/workflows/super-linter.md)
  2. Identify unquoted variable references in shell commands
  3. Add double quotes around variable expansions (e.g., change $VAR to "$VAR")
  4. Test the workflow to ensure quoting doesn't break functionality

Files to Modify

  • .github/workflows/super-linter.md

Acceptance Criteria

  • All variable references properly quoted
  • Run gh aw compile super-linter successfully
  • Run gh aw compile super-linter --actionlint shows no SC2086 warnings
  • Workflow functionality unchanged (test by running workflow if possible)

Impact

Improves code robustness and eliminates 3 linting warnings.
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