Skip to content

[plan] Fix SC2295 shellcheck error in ci-doctor workflow #19007

@github-actions

Description

@github-actions

Objective

Fix a shellcheck error (SC2295 — pattern-match quoting) in the ci-doctor workflow, identified by actionlint in discussion #19004.

Context

The ci-doctor.lock.yml workflow has a shell script step at line 330 with an unquoted inner pattern expansion (SC2295). This can cause incorrect pattern matching when the pattern contains variable content with spaces or special glob characters.

Source: Static Analysis Report - 2026-03-01, actionlint SC2295 finding.

Approach

  1. Open .github/workflows/ci-doctor.md (the source markdown file)
  2. Find the shell step with the pattern-matching issue (e.g., a case statement or [[ $var == $pattern ]] with an unquoted $pattern)
  3. Add quotes around the inner pattern expansion: "$pattern" instead of $pattern
  4. Run make recompile to regenerate the lock file
  5. Confirm actionlint no longer reports SC2295 for this workflow

Files to Modify

  • .github/workflows/ci-doctor.md — quote inner pattern expansion in shell step
  • .github/workflows/ci-doctor.lock.yml — regenerated via make recompile

Acceptance Criteria

  • SC2295 error is gone from ci-doctor
  • Lock file regenerated without errors
  • make agent-finish passes

Generated by Plan Command for issue #discussion #19004

  • expires on Mar 3, 2026, 6:38 AM UTC

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions