Skip to content

Commit

Permalink
Trying a different way
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsimons committed Dec 2, 2024
1 parent 92e3a84 commit 72a10af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
Write-Output "Diff size is $($changes.Length) bytes"
if ($changes.Length -gt 20480) {
"## Changes diff" >> $env:GITHUB_STEP_SUMMARY
"```" >> $env:GITHUB_STEP_SUMMARY
"$changes" >> $env:GITHUB_STEP_SUMMARY
"```" >> $env:GITHUB_STEP_SUMMARY
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value "## Changes diff"
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value "```"
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value $changes
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value "```"
throw "Changes diff is > 20KB - too much change to trust without verifying"
return 1
}
Expand Down

0 comments on commit 72a10af

Please sign in to comment.