diff --git a/.github/workflows/run-scripts.yml b/.github/workflows/run-scripts.yml index d1208ef9186..248a706d539 100644 --- a/.github/workflows/run-scripts.yml +++ b/.github/workflows/run-scripts.yml @@ -50,8 +50,8 @@ jobs: Write-Output "Diff size is $($changes.Length) bytes" if ($changes.Length -gt 20480) { - echo "## Changes diff" >> $env:GITHUB_STEP_SUMMARY - echo "```$changes```" >> $env:GITHUB_STEP_SUMMARY + "## Changes diff" >> $env:GITHUB_STEP_SUMMARY + "```$changes```" >> $env:GITHUB_STEP_SUMMARY throw "Changes diff is > 20KB - too much change to trust without verifying" return 1 }