Tags: PowerShellOrg/PSDepend
Tags
ci: delegate to PowerShellOrg reusable workflows (#184) ## Summary - **CI.yml** simplified to a single `uses:` call to `PowerShellOrg/.github/.github/workflows/powershell-ci.yml@main` — covers PS 5.1 and 7.x on Windows/Linux/macOS, installs deps, and runs Init/Test/Analyze via `Invoke-psake` - **publish.yml** added — triggers on `v*` tag push, delegates to `powershell-release.yml@main` (Init → Test → Analyze → Build → Publish → GitHub Release); requires `PSGALLERY_API_KEY` secret set in repo settings - **psakeFile.ps1** — added `Analyze` task (runs `Invoke-ScriptAnalyzer` on staged output, fails on Error severity); wired `$PSBPreference.Publish.ApiKey` from `$env:PSGALLERY_API_KEY` ## Test plan - [x] CI run on this PR validates Init/Test/Analyze pass across all matrix legs - [x] Confirm `PSGALLERY_API_KEY` secret is set in repo settings before tagging a release - [ ] Dry-run publish by triggering `publish.yml` via `workflow_dispatch` on a pre-release branch 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 4.6 <[email protected]>