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: