Skip to content

PSDevOps Container.init.ps1 should initialize the container #88

PSDevOps Container.init.ps1 should initialize the container

PSDevOps Container.init.ps1 should initialize the container #88


name: Trace On Issue Opened Or Edited
on:
issues:
types:
- opened
- edited
jobs:
TraceGitHubEvent:
runs-on: ubuntu-latest
steps:
- name: TraceGitHubEvent
id: TraceGitHubEvent
shell: pwsh
run: |
# Traces the GitHub Event
$gitHubEvent = if ($env:GITHUB_EVENT_PATH) {
[IO.File]::ReadAllText($env:GITHUB_EVENT_PATH) | ConvertFrom-Json
} else { $null }
@"
$($gitHubEvent | ConvertTo-Json -Depth 100)
"@ | Out-Host