diff --git a/.github/workflows/blocked_prs.yml b/.github/workflows/blocked_prs.yml index b16df71d7..b6169768c 100644 --- a/.github/workflows/blocked_prs.yml +++ b/.github/workflows/blocked_prs.yml @@ -4,7 +4,9 @@ on: pull_request_target: types: - opened + - reopened - edited + - synchronize workflow_dispatch: inputs: pr_id: @@ -151,7 +153,7 @@ jobs: done < <(jq -c '.blocking[]' <<< "$BLOCKING_PRS") | jq -c -s ) echo "data=$BLOCKED_PR_DATA" >> "$GITHUB_OUTPUT" - echo "all_merged=$(jq -r 'all(.[].merged; .)' <<< "$BLOCKED_PR_DATA")" + echo "all_merged=$(jq -r 'all(.[].merged; .)' <<< "$BLOCKED_PR_DATA")" >> "$GITHUB_OUTPUT" - name: Apply Blocked Label if Missing id: label_blocked @@ -186,7 +188,7 @@ jobs: continue-on-error: true env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BLOCKING_DATA: ${{ steps.blocking_data.outputs.state }} + BLOCKING_DATA: ${{ steps.blocking_data.outputs.data }} run: | # label pr dependencies with 'blocking' if not already while read -r pr_data ; do @@ -207,7 +209,7 @@ jobs: continue-on-error: true env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BLOCKING_DATA: ${{ steps.blocking_data.outputs.state }} + BLOCKING_DATA: ${{ steps.blocking_data.outputs.data }} run: | pr_head_sha=$(jq -r '.prHeadSha' <<< "$JOB_DATA") # create commit Status, overwrites previous identical context