From 7f4f2e932c0778ee9ffcacbf9cbc0b1c5e9d50f1 Mon Sep 17 00:00:00 2001 From: Paul Rastoin <45004772+prastoin@users.noreply.github.com> Date: Fri, 8 May 2026 12:53:59 +0200 Subject: [PATCH] Simplify dispatch pr review (#20397) # Introduction Sending minimal information for required metadata to be fetched afterwards --- .github/workflows/pr-auto-review-dispatch.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/pr-auto-review-dispatch.yaml b/.github/workflows/pr-auto-review-dispatch.yaml index 0a30c518287..be82c59468c 100644 --- a/.github/workflows/pr-auto-review-dispatch.yaml +++ b/.github/workflows/pr-auto-review-dispatch.yaml @@ -20,15 +20,7 @@ jobs: env: GH_TOKEN: ${{ secrets.CI_PRIVILEGED_DISPATCH_TOKEN }} PR_NUMBER: ${{ github.event.pull_request.number }} - PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }} - PR_AUTHOR: ${{ github.event.pull_request.user.login }} - PR_AUTHOR_ASSOCIATION: ${{ github.event.pull_request.author_association }} - REPO: ${{ github.repository }} run: | gh api repos/twentyhq/ci-privileged/dispatches \ -f event_type=pr-review \ - -f "client_payload[pr_number]=$PR_NUMBER" \ - -f "client_payload[pr_head_sha]=$PR_HEAD_SHA" \ - -f "client_payload[pr_author]=$PR_AUTHOR" \ - -f "client_payload[pr_author_association]=$PR_AUTHOR_ASSOCIATION" \ - -f "client_payload[repo]=$REPO" + -f "client_payload[pr_number]=$PR_NUMBER"