Skip to content

PSModule/Debug

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Debug Action

Prints comprehensive debug information about the GitHub Actions runner environment, contexts, environment variables, and PowerShell state.

Caution

This action exposes environment variables and contexts, which may include sensitive information or secrets. GitHub attempts to mask secrets in logs, but if a secret contains newlines (common with private keys) due to PowerShell's formatting, GitHub masking may fail and inadvertently expose the secret.

Usage

Inputs

This action does not currently require any inputs.

Secrets

This action does not explicitly require secrets but may display environment variables or contexts containing sensitive information. Use with caution.

Outputs

This action does not provide outputs.

Example

jobs:
  Get-Debug:
    runs-on: ubuntu-latest
    steps:
      - name: Debug
        uses: PSModule/Debug@v1

Information Displayed

  • GitHub Context
  • Environment Variables
  • GitHub event payload details
  • PowerShell environment details including:
    • Variables
    • Installed Modules
    • Execution context
    • Host details
    • Invocation details
    • PowerShell session options
    • PowerShell version details

About

Print info from the runner environment to logs

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published