psmodule/GitHub-Script (by PSModule)

A GitHub Action used for running a PowerShell script that uses the GitHub PowerShell module

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
NameThe name of the action.noGitHub-Script
ScriptThe script to run. Can be inline, multi-line or a path to a script file.no
TokenLog in using an Installation Access Token (IAT).no${{ github.token }}
ClientIDLog in using a GitHub App, using the App's Client ID and Private Key.no
PrivateKeyLog in using a GitHub App, using the App's Client ID and Private Key.no
KeyVaultKeyReferenceLog in using a GitHub App, using the App's Client ID and KeyVault Key Reference.no
DebugEnable debug output for the whole action.nofalse
VerboseEnable verbose output for the whole action.nofalse
VersionSpecifies the version of the GitHub module to install. Accepts an exact version or a NuGet version range (for example '[1.2.0, 2.0.0)').no
PrereleaseAllow prerelease versions if available.nofalse
ShowInfoShow information about the environment.notrue
ShowInitShow information about the initialization.nofalse
ShowOutputShow the output of the script.nofalse
ShowRateLimitShow GitHub API rate limit information before and after script execution.nofalse
ErrorViewConfigure the PowerShell `$ErrorView` variable. You can use full names ('NormalView', 'CategoryView', 'ConciseView', 'DetailedView'). It matches on partials.noNormalView
WorkingDirectoryThe working directory where the script will run from.no.
PreserveCredentialsPreserve credentials after script execution. If false, disconnects GitHub contexts and CLI using Disconnect-GitHubAccount.notrue
namedescription
resultThe output of the script as a JSON object. To add outputs to `result`, use `Set-GitHubOutput`.