{"repo":"Amadevus/pwsh-script","free":true,"listed":false,"github":"https://github.com/Amadevus/pwsh-script","clone":"git clone https://github.com/Amadevus/pwsh-script.git","description":"GitHub Action to run PowerShell scripts in a rich, prepared scope - inspired by actions/github-script.","language":"PowerShell","stars":51,"topics":["github-actions","actions","github-action","powershell","github-actions-javascript"],"license":"MIT","category":"workflow-automation","readme_excerpt":"pwsh-script GitHub Action to run PowerShell scripts that use the workflow run context - inspired by [actions/github-script]. In order to use this action, script input is required. The value of that input should be the body of a PowerShell script. The following variables are initialized before your script is executed: - $github is an object representing the workflow's [ github context] - $job is an object representing the workflow's [ job context] - $runner is an object representing the workflow's [ runner context] - $strategy is an object representing the workflow's [ strategy context] - $matrix is an object representing the workflow's [ matrix context] [actions/github-script]: https://github.com/actions/github-script [ @actions/core ]: https://github.com/actions/toolkit/tree/main/packages/core [ github context]: https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context [ job context]: https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#job-context [ runner context]: https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#runner-context [ strategy context]: https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#strategy-context [ matrix context]: https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#matrix-context Demo You can try out this action yourself by commenting ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Amadevus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Amadevus/pwsh-script/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}