Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 17, 2026

Adds a new "Inputs" section to the Info log group that displays all provided action inputs.

Changes

  • Added LogGroup ' - Inputs' section in scripts/info.ps1 positioned before "Installed modules"
  • Masks sensitive values: Token and PrivateKey display as ***
  • Shows <not provided> for optional inputs when empty: ClientID, KeyVaultKeyReference, Version
  • Displays all 14 available inputs: Name, Token, ClientID, PrivateKey, KeyVaultKeyReference, Debug, Verbose, Version, Prerelease, ShowInfo, ShowInit, ShowOutput, ErrorView, PreserveCredentials

Output Format

LogGroup ' - Inputs' {
    $inputs = [ordered]@{
        Name                 = $env:PSMODULE_GITHUB_SCRIPT_INPUT_Name
        Token                = if ([string]::IsNullOrEmpty($env:PSMODULE_GITHUB_SCRIPT_INPUT_Token)) { '<not provided>' } else { '***' }
        ClientID             = if ([string]::IsNullOrEmpty($env:PSMODULE_GITHUB_SCRIPT_INPUT_ClientID)) { '<not provided>' } else { $env:PSMODULE_GITHUB_SCRIPT_INPUT_ClientID }
        # ... remaining inputs
    }
    [PSCustomObject]$inputs | Format-List | Out-String
}

Visible when ShowInfo is enabled (default: true).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.powershellgallery.com
    • Triggering command: /usr/bin/pwsh pwsh -Command Install-Module -Name PSScriptAnalyzer -Force -Scope CurrentUser -SkipPublisherCheck (dns block)
    • Triggering command: /usr/bin/pwsh pwsh -Command Install-PSResource -Name PSScriptAnalyzer -Repository PSGallery -TrustRepository (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>🩹 [Patch]: Add "Inputs" to the "Info" section</issue_title>
<issue_description>### Describe the change

Add a log group with info about the provided inputs into the "Info" log group.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 17, 2026 00:40
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Copilot AI changed the title [WIP] Add inputs to the info section log group Add inputs display to Info log group Jan 17, 2026
Copilot AI requested a review from MariusStorhaug January 17, 2026 00:44
@MariusStorhaug MariusStorhaug deleted the copilot/add-inputs-to-info-section branch January 17, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🩹 [Patch]: Add "Inputs" to the "Info" section

2 participants