Skip to content

fix: resolve actionlint shellcheck failures in workflow files#401

Merged
MichaelFisher1997 merged 1 commit intodevfrom
ci/fix-actionlint-shellcheck
Apr 1, 2026
Merged

fix: resolve actionlint shellcheck failures in workflow files#401
MichaelFisher1997 merged 1 commit intodevfrom
ci/fix-actionlint-shellcheck

Conversation

@MichaelFisher1997
Copy link
Copy Markdown
Collaborator

Summary

Fixes all shellcheck issues reported by the actionlint CI job (run #23869757250).

Changes

  • SC2129: Grouped multiple echo >> $GITHUB_ENV redirects into { ... } >> "$GITHUB_ENV" in visual-test.yml and build.yml
  • SC2086: Quoted $GITHUB_ENV and $GITHUB_OUTPUT across 5 workflow files to prevent globbing/word splitting
  • SC2034: Removed unused TOTAL variable in opencode-test-writer.yml

Files Changed

  • .github/workflows/visual-test.yml — SC2129 + SC2086 (3 locations)
  • .github/workflows/build.yml — SC2086 (Wayland compositor step)
  • .github/workflows/opencode-test-writer.yml — SC2034 (unused TOTAL)
  • .github/workflows/opencode-pr.yml — SC2086 (cache prep)
  • .github/workflows/opencode.yml — SC2086 (cache prep)

Quote GITHUB_ENV/GITHUB_OUTPUT variables and group redirect
statements to satisfy SC2086, SC2129, and remove unused TOTAL
variable (SC2034).
@github-actions github-actions bot added documentation Improvements or additions to documentation ci labels Apr 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

📋 Summary

This PR addresses shellcheck issues in GitHub workflow files identified by actionlint (run #23869757250). The changes implement standard bash best practices:

  • SC2129: Groups multiple echo >> redirects using block notation for efficiency
  • SC2086: Quotes $GITHUB_ENV and $GITHUB_OUTPUT variables to prevent word splitting/globbing
  • SC2034: Removes unused TOTAL variable

No linked issues mentioned in the PR description. The changes are straightforward CI maintenance fixes that improve shell script reliability and follow best practices.


🔴 Critical Issues (Must Fix - Blocks Merge)

None identified.


⚠️ High Priority Issues (Should Fix)

None identified.


💡 Medium Priority Issues (Nice to Fix)

None identified.


ℹ️ Low Priority Suggestions (Optional)

None identified.


📊 SOLID Principles Score

Principle Score Notes
Single Responsibility 10 Each workflow has a clear, focused purpose
Open/Closed N/A Workflow files don't apply to OCP
Liskov Substitution N/A No inheritance hierarchy
Interface Segregation N/A Workflows are concrete implementations
Dependency Inversion N/A CI workflows call external actions
Average 10.0 Simple, focused changes

🎯 Final Assessment

Overall Confidence Score: 95%

Confidence Breakdown:

  • Code Quality: 95% (follows shellcheck best practices)
  • Completeness: 100% (addresses all reported issues)
  • Risk Level: 5% (minimal risk - shell quoting fixes)
  • Test Coverage: 90% (CI will validate on next run)

Merge Readiness:

  • All critical issues resolved
  • SOLID average score >= 6.0
  • Overall confidence >= 60%
  • No security concerns
  • Tests present and passing (CI will validate)

Verdict:

MERGE

This is a clean, focused PR that properly addresses all shellcheck issues. The changes follow bash best practices and will improve CI reliability.

New%20session%20-%202026-04-01T22%3A13%3A26.905Z
opencode session  |  github run

@MichaelFisher1997 MichaelFisher1997 merged commit 90b3a4d into dev Apr 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant