File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -553,6 +553,7 @@ jobs:
553553
554554 # Step 14: Restore response payload from upstream output
555555 - name : Restore response payload
556+ id : restore_payload
556557 if : ${{ needs.gather-and-send.outputs.response_payload != '' }}
557558 run : |
558559 set -euo pipefail
@@ -562,9 +563,11 @@ jobs:
562563 exit 1
563564 fi
564565 printf '%s' "$payload" | base64 -d > response_body.json
566+ echo "restored=true" >> "$GITHUB_OUTPUT"
565567
566568 # Step 16: Prepare grouped review batches
567569 - name : Prepare batched review payloads
570+ if : ${{ steps.restore_payload.outputs.restored == 'true' }}
568571 run : |
569572 python3 - <<'PY'
570573 from pathlib import Path
@@ -659,6 +662,7 @@ jobs:
659662
660663 # Step 17: Post grouped inline suggestions
661664 - name : Post batched inline suggestions
665+ if : ${{ steps.restore_payload.outputs.restored == 'true' }}
662666 env :
663667 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
664668 run : |
@@ -733,6 +737,7 @@ jobs:
733737
734738 # Step 18: Publish any verification reviews
735739 - name : Post verification comments
740+ if : ${{ steps.restore_payload.outputs.restored == 'true' }}
736741 env :
737742 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
738743 run : |
You can’t perform that action at this time.
0 commit comments