diff --git a/.github/checkgroup.yml b/.github/checkgroup.yml index 4b67bc076b..ace786f8ac 100644 --- a/.github/checkgroup.yml +++ b/.github/checkgroup.yml @@ -1,4 +1,7 @@ custom_service_name: "Lightning CI required checker" +# For security reasons, configuration is only loaded from the repository's default branch, +# changes made in pull requests from different branches or forks are ignored. This means that changes to this file +# will only be used after they are merged. subprojects: - id: "CI: CircleCI" paths: @@ -6,15 +9,6 @@ subprojects: checks: - "test-on-tpus" - - id: "CI: Azure" - paths: - - ".azure/**" - checks: - - "pytorch-lightning (GPUs)" - - "pytorch-lightning (GPUs) (testing PyTorch - stable)" - - "pytorch-lightning (HPUs)" - - "pytorch-lightning (IPUs)" - - id: "pytorch_lightning" paths: # all examples don't need to be added because they aren't used in CI, but these are @@ -52,7 +46,6 @@ subprojects: - "mypy" - "PR Gatekeeper (pytorch)" - "pytorch-lightning (GPUs)" - - "pytorch-lightning (GPUs) (testing PyTorch - stable)" - "pytorch-lightning (HPUs)" - "pytorch-lightning (IPUs)" - "slow (macOS-11, 3.7, 1.11)" @@ -60,6 +53,25 @@ subprojects: - "slow (windows-2022, 3.7, 1.11)" - "test-on-tpus" + - id: "pytorch_lightning: Azure GPU" + paths: + - ".azure/gpu-tests.yml" + - "tests/tests_pytorch/run_standalone_*.sh" + checks: + - "pytorch-lightning (GPUs)" + + - id: "pytorch_lightning: Azure HPU" + paths: + - ".azure/hpu-tests.yml" + checks: + - "pytorch-lightning (HPUs)" + + - id: "pytorch_lightning: Azure IPU" + paths: + - ".azure/ipu-tests.yml" + checks: + - "pytorch-lightning (IPUs)" + - id: "pytorch_lightning: Docs" paths: - "docs/source-pytorch/**" @@ -73,7 +85,6 @@ subprojects: - id: "pytorch_lightning: Docker" paths: - "dockers/**" - - "!dockers/README.md" - "requirements.txt" - "requirements/*.txt" - "requirements/pytorch/*" @@ -108,12 +119,10 @@ subprojects: - id: "lightning_app" paths: - - ".azure/app-cloud-e2e.yml" - "requirements/app/**" - "src/lightning_app/**" - "tests/tests_app/**" - "tests/tests_app_examples/**" - - "tests/tests_clusters/**" # the examples are used in the app CI - "examples/app_*" checks: @@ -127,6 +136,12 @@ subprojects: - "pytest (windows-2022, 3.8, latest)" - "pytest (windows-2022, 3.8, oldest)" + - id: "lightning_app: Azure" + paths: + - ".azure/app-cloud-e2e.yml" + checks: + - "App.cloud-e2e" + - id: "lightning_app: Docs" paths: - "docs/source-app/**" diff --git a/.github/workflows/probot-check-group.yml b/.github/workflows/probot-check-group.yml new file mode 100644 index 0000000000..1b37e19c81 --- /dev/null +++ b/.github/workflows/probot-check-group.yml @@ -0,0 +1,15 @@ +name: Probot + +on: + check_run: {} + pull_request: {} + issue_comment: {types: [created]} + +jobs: + required-jobs: + runs-on: ubuntu-latest + if: github.event_name != 'issue_comment' || contains(github.event.comment.body, '@probot pls') + steps: + - uses: carmocca/probot@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}