From fc6b732b9af35e884f7240aefbbf4d9132302588 Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Wed, 31 May 2023 10:18:04 +0800 Subject: [PATCH 1/2] Update openai-review.yml --- .github/workflows/openai-review.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/openai-review.yml b/.github/workflows/openai-review.yml index 4ec1361f04d..8a656821afa 100644 --- a/.github/workflows/openai-review.yml +++ b/.github/workflows/openai-review.yml @@ -23,6 +23,7 @@ jobs: PATCH_PR: ${{ github.event.pull_request.number }} PATCH_REPO: ${{ github.repository }} - id: review + if: contains(github.event.issue.labels.*.name, 'chatGPT-review') uses: taikoxyz/openai-review-action@main with: GIT_COMMIT_HASH: ${{ github.event.pull_request.head.sha }} From 974fd8eb4d1b0ec3adc56d36f082d652b97513b1 Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Wed, 31 May 2023 10:29:13 +0800 Subject: [PATCH 2/2] Update openai-review.yml --- .github/workflows/openai-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/openai-review.yml b/.github/workflows/openai-review.yml index 8a656821afa..497f6a01434 100644 --- a/.github/workflows/openai-review.yml +++ b/.github/workflows/openai-review.yml @@ -23,7 +23,7 @@ jobs: PATCH_PR: ${{ github.event.pull_request.number }} PATCH_REPO: ${{ github.repository }} - id: review - if: contains(github.event.issue.labels.*.name, 'chatGPT-review') + if: contains(github.event.issue.labels.*.name, 'chatGPT review') uses: taikoxyz/openai-review-action@main with: GIT_COMMIT_HASH: ${{ github.event.pull_request.head.sha }}