From 93b685cdce28af11e2c9aed50a85e99ae2580df6 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 11 Jul 2025 20:52:18 -0400 Subject: [PATCH] Accidentally moved it 2 high --- .github/workflows/reportBrokenPlugins.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/reportBrokenPlugins.yml b/.github/workflows/reportBrokenPlugins.yml index 7751f120c..a5b4af20b 100644 --- a/.github/workflows/reportBrokenPlugins.yml +++ b/.github/workflows/reportBrokenPlugins.yml @@ -87,6 +87,14 @@ jobs: pids+=" $!" fi + exit_code=0 + for pid in $pids; do + if ! wait "$pid"; then + exit_code=1 + fi + done + + cat "$stable_output_file" "$canary_output_file" >> $GITHUB_STEP_SUMMARY git config --global user.name "GitHub-Actions" git config --global user.email actions@github.com git clone https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git report @@ -97,15 +105,6 @@ jobs: git commit -m "Reporter Results" git push --force https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git - - exit_code=0 - for pid in $pids; do - if ! wait "$pid"; then - exit_code=1 - fi - done - - cat "$stable_output_file" "$canary_output_file" >> $GITHUB_STEP_SUMMARY exit $exit_code env: WEBHOOK_URL: ${{ inputs.webhook_url || secrets.WEBHOOK_URL }}