From 247f5aacc2fc96ab1df14d7176838dc65757a786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Tue, 16 Nov 2021 19:23:57 +0100 Subject: [PATCH] Tune cc-bot settings (#10544) --- .github/workflows/probot-auto-cc.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/probot-auto-cc.yml b/.github/workflows/probot-auto-cc.yml index 0595c4eee6..a6d75ad175 100644 --- a/.github/workflows/probot-auto-cc.yml +++ b/.github/workflows/probot-auto-cc.yml @@ -2,16 +2,14 @@ name: Probot on: issues: - types: - - labeled + types: [labeled] pull_request: - types: - - labeled + types: [labeled, ready_for_review] jobs: auto-cc: - if: ${{ github.repository_owner == 'PyTorchLightning' }} runs-on: ubuntu-latest + if: github.event_name == "issue" || github.event.pull_request.draft == false steps: - uses: carmocca/probot@v1 env: