diff --git a/.github/workflows/TestWorkflow.yml b/.github/workflows/TestWorkflow.yml index 7d86ce2..46e1100 100644 --- a/.github/workflows/TestWorkflow.yml +++ b/.github/workflows/TestWorkflow.yml @@ -568,7 +568,7 @@ jobs: persist-credentials: false # Login to Azure to enable KeyVault access - name: Login to Azure - uses: azure/login@1384c340ab2dda50fed2bee3041d1d87018aa5e8 # v2 + uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0 with: client-id: ${{ vars.AZURE_CLIENT_ID }} tenant-id: ${{ vars.AZURE_TENANT_ID }} @@ -618,7 +618,7 @@ jobs: persist-credentials: false # Login to Azure to enable KeyVault access - name: Login to Azure - uses: azure/login@1384c340ab2dda50fed2bee3041d1d87018aa5e8 # v2 + uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0 with: client-id: ${{ vars.AZURE_CLIENT_ID }} tenant-id: ${{ vars.AZURE_TENANT_ID }} diff --git a/README.md b/README.md index d1adf3c..0c26407 100644 --- a/README.md +++ b/README.md @@ -8,24 +8,24 @@ To get started with your own GitHub PowerShell based action, [create a new repos ### Inputs -| Name | Description | Required | Default | -|--------------------|---------------------------------------------------------------------------|----------|-----------------------| -| `Name` | The name of the action. | false | `GitHub-Script` | -| `Script` | The script to run. Can be inline, multi-line, or a path to a script file. | false | | -| `Token` | Log in using an Installation Access Token (IAT). | false | `${{ github.token }}` | -| `ClientID` | Log in using a GitHub App, with the App's Client ID and Private Key. | false | | -| `PrivateKey` | Log in using a GitHub App, with the App's Client ID and Private Key. | false | | -| `KeyVaultKeyReference` | Log in using a GitHub App, with the App's Client ID and KeyVault Key Reference. | false | | -| `Debug` | Enable debug output for the whole action. | false | `'false'` | -| `Verbose` | Enable verbose output for the whole action. | false | `'false'` | -| `Version` | Specifies the exact version of the GitHub module to install. | false | | -| `Prerelease` | Allow prerelease versions if available. | false | `'false'` | -| `ErrorView` | Configure the PowerShell `$ErrorView` variable. You can use full names ('NormalView', 'CategoryView', 'ConciseView', 'DetailedView'). It matches on partials. | false | `'NormalView'` | -| `ShowInfo` | Show information about the environment. | false | `'true'` | -| `ShowInit` | Show information about the initialization. | false | `'false'` | -| `ShowOutput` | Show the script's output. | false | `'false'` | -| `WorkingDirectory` | The working directory where the script runs. | false | `'.'` | -| `PreserveCredentials` | Preserve credentials after script execution. If false, disconnects GitHub contexts and CLI using Disconnect-GitHubAccount. | false | `'true'` | +| Name | Description | Required | Default | +|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|-----------------------| +| `Name` | The name of the action. | false | `GitHub-Script` | +| `Script` | The script to run. Can be inline, multi-line, or a path to a script file. | false | | +| `Token` | Log in using an Installation Access Token (IAT). | false | `${{ github.token }}` | +| `ClientID` | Log in using a GitHub App, with the App's Client ID and Private Key. | false | | +| `PrivateKey` | Log in using a GitHub App, with the App's Client ID and Private Key. | false | | +| `KeyVaultKeyReference` | Log in using a GitHub App, with the App's Client ID and KeyVault Key Reference. | false | | +| `Debug` | Enable debug output for the whole action. | false | `'false'` | +| `Verbose` | Enable verbose output for the whole action. | false | `'false'` | +| `Version` | Specifies the exact version of the GitHub module to install. | false | | +| `Prerelease` | Allow prerelease versions if available. | false | `'false'` | +| `ErrorView` | Configure the PowerShell `$ErrorView` variable. You can use full names ('NormalView', 'CategoryView', 'ConciseView', 'DetailedView'). It matches on partials. | false | `'NormalView'` | +| `ShowInfo` | Show information about the environment. | false | `'true'` | +| `ShowInit` | Show information about the initialization. | false | `'false'` | +| `ShowOutput` | Show the script's output. | false | `'false'` | +| `WorkingDirectory` | The working directory where the script runs. | false | `'.'` | +| `PreserveCredentials` | Preserve credentials after script execution. If false, disconnects GitHub contexts and CLI using Disconnect-GitHubAccount. | false | `'true'` | ### Outputs