From 7ebe65faa058fceed9ab481bd7438facb31410a9 Mon Sep 17 00:00:00 2001 From: Yukihiro Saito Date: Fri, 4 Aug 2023 18:12:53 +0900 Subject: [PATCH] feat(workflow): run gpt review from forked pr (#4515) * feat(workflow): run gpt review from forked pr Signed-off-by: Yukihito Saito * only run when the label is added Signed-off-by: Yukihito Saito --------- Signed-off-by: Yukihito Saito --- .github/workflows/openai-pr-reviewer.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/openai-pr-reviewer.yaml b/.github/workflows/openai-pr-reviewer.yaml index ecd8d85769a95..0ba732b580204 100644 --- a/.github/workflows/openai-pr-reviewer.yaml +++ b/.github/workflows/openai-pr-reviewer.yaml @@ -5,10 +5,8 @@ permissions: pull-requests: write on: - pull_request: + pull_request_target: types: - - opened - - synchronize - labeled pull_request_review_comment: types: [created]