poshweb/usegitpub
Easily Automate Publishing from GitHub
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 4, 2026
- License
- MIT
Pinned Snippet
uses: poshweb/gitpub@61d4d1dfee4400e85a89f590f0a1070649110826 # v0.1.5tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| GitPubScript | A PowerShell Script that uses GitPub. Any files outputted from the script will be added to the repository. If those files have a .Message attached to them, they will be committed with that message. | no | — |
| SkipGitPubPS1 | If set, will not process any files named *.GitPub.ps1 | no | — |
| CommitMessage | If provided, will commit any remaining changes made to the workspace with this commit message. | no | — |
| TargetBranch | If provided, will checkout a new branch before making the changes. | no | — |
| PublishParameters | Any parameters to be sent to Publish-GitPub | no | — |
| UserEmail | The user email associated with a git commit. | no | — |
| UserName | The user name associated with a git commit. | no | — |
Outputs
| name | description |
|---|---|
| GitPubScriptRuntime | The time it took the .GitPubScript parameter to run |
| GitPubPS1Runtime | The time it took all .GitPub.ps1 files to run |
| GitPubPS1Files | The .GitPub.ps1 files that were run (separated by semicolons) |
| GitPubPS1Count | The number of .GitPub.ps1 files that were run |