Skip to content

Tags: PowerShellOrg/PSDepend

Tags

0.4.1

Toggle 0.4.1's commit message

Verified

This commit was signed with the committer’s verified signature.
HeyItsGilbert Gilbert Sanchez
chore: promote 0.4.1 to stable by clearing prerelease tag

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

0.4.0-alpha

Toggle 0.4.0-alpha's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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]>