Skip to content

[Codex] Add PowerShell analyzer CI summary#3106

Draft
DRSDavidSoft wants to merge 6 commits into
masterfrom
agent/psscriptanalyzer-summary
Draft

[Codex] Add PowerShell analyzer CI summary#3106
DRSDavidSoft wants to merge 6 commits into
masterfrom
agent/psscriptanalyzer-summary

Conversation

@DRSDavidSoft

Copy link
Copy Markdown
Contributor

Summary

Adds a warning-only PSScriptAnalyzer report to the Run Tests workflow.

What changed

  • Installs PSScriptAnalyzer in CI when it is not already available.
  • Adds scripts/psscriptanalyzer-summary.ps1 to run PSScriptAnalyzer recursively across the repository.
  • Writes findings to the GitHub Actions step summary as severity-sorted collapsible Markdown sections.
  • Keeps analyzer findings advisory so existing PowerShell warnings guide cleanup work without failing the test job.

Validation

  • Ran the summary helper locally; it generated grouped collapsible Markdown and exited successfully while warning about existing findings.
  • Parsed the helper with the PowerShell parser.
  • Ran PSScriptAnalyzer on the helper script itself; no findings were reported.
  • Ran actionlint on .github/workflows/tests.yml with the pre-existing github.head_ref inline-script warning ignored.

@DRSDavidSoft DRSDavidSoft changed the title Add PowerShell analyzer CI summary [Codex] Add PowerShell analyzer CI summary Jul 11, 2026
@DRSDavidSoft DRSDavidSoft force-pushed the agent/psscriptanalyzer-summary branch from 564a9cd to 68ea2fc Compare July 11, 2026 13:38
@DRSDavidSoft DRSDavidSoft force-pushed the agent/psscriptanalyzer-summary branch from 9bfd228 to b0ccccb Compare July 11, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant