diff --git a/.github/workflows/openai-review.yml b/.github/workflows/openai-review.yml index 4ec1361f04d..497f6a01434 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 }}