Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/process-new-powershell-tip-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,12 @@ jobs:
- name: Extract tip information from issue and create new tip file
id: create-tip-file
shell: pwsh
env:
# Avoid script injection by retrieving the issue body via an environment variable instead of injecting the text directly into the script.
ISSUE_BODY: ${{ github.event.issue.body }}
run: |
Write-Output "Reading information from GitHub issue..."
$body = @'
${{ github.event.issue.body }}
'@
$body = $Env:ISSUE_BODY

Write-Output "Displaying issue body for troubleshooting purposes:"
Write-Output "----------------------------------------"
Expand Down
Loading