Skip to content

Commit 80e7538

Browse files
authored
Enable Probot CheckGroup v4 (#15649)
1 parent 9670fa8 commit 80e7538

17 files changed

+99
-9
lines changed

.azure/app-cloud-e2e.yml

+11-8
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,17 @@ pr:
2727
- "release/*"
2828
paths:
2929
include:
30-
- ".azure/app-cloud-e2e.yml"
31-
- "requirements/app/**"
32-
- "src/lightning_app/**"
33-
- "tests/tests_app/**"
34-
- "examples/app_*/**" # some tests_app tests call examples files
35-
- "tests/tests_app_examples/**"
36-
- "setup.py"
37-
- ".actions/**"
30+
- ".azure/app-cloud-e2e.yml"
31+
- "requirements/app/**"
32+
- "src/lightning_app/**"
33+
- "tests/tests_app/**"
34+
- "examples/app_*/**" # some tests_app tests call examples files
35+
- "tests/tests_app_examples/**"
36+
- "setup.py"
37+
- ".actions/**"
38+
- "!requirements/app/docs.txt"
39+
- "!*.md"
40+
- "!**/*.md"
3841

3942
# variables are automatically exported as environment variables so this will override pip's default cache dir
4043
variables:

.azure/gpu-benchmark.yml

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ pr:
2323
- ".azure/gpu-benchmark.yml"
2424
- "tests/tests_pytorch/benchmarks/**"
2525
- "requirements/pytorch/**"
26+
- "!requirements/pytorch/docs.txt"
27+
- "!*.md"
28+
- "!**/*.md"
2629

2730
schedules:
2831
- cron: "0 0 * * *" # At the end of every day

.azure/gpu-tests-lite.yml

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ pr:
3030
- "tests/tests_lite/**"
3131
- "setup.cfg" # includes pytest config
3232
- ".actions/**"
33+
- "!requirements/lite/docs.txt"
34+
- "!*.md"
35+
- "!**/*.md"
3336

3437
jobs:
3538
- job: testing

.azure/gpu-tests-pytorch.yml

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ pr:
3434
- "requirements/lite/**"
3535
- "src/lightning_lite/**"
3636
- ".actions/**"
37+
- "!requirements/**/docs.txt"
38+
- "!*.md"
39+
- "!**/*.md"
3740

3841
jobs:
3942
- job: testing

.azure/hpu-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ pr:
2626
- "tests/tests_pytorch/**"
2727
- "setup.cfg" # includes pytest config
2828
- ".actions/**"
29+
- "!requirements/**/docs.txt"
30+
- "!*.md"
31+
- "!**/*.md"
2932

3033
jobs:
3134
- job: testing

.azure/ipu-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ pr:
2323
- "tests/tests_pytorch/**"
2424
- "setup.cfg" # includes pytest config
2525
- ".actions/**"
26+
- "!requirements/**/docs.txt"
27+
- "!*.md"
28+
- "!**/*.md"
2629

2730
variables:
2831
- name: poplar_sdk

.github/checkgroup.yml

+46
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ subprojects:
1414
- "tests/legacy/back-compatible-versions.txt"
1515
- "setup.cfg" # includes pytest config
1616
- ".actions/**"
17+
- "!requirements/**/docs.txt"
18+
- "!*.md"
19+
- "!**/*.md"
1720
checks:
1821
- "pl-cpu (macOS-11, pytorch, 3.8, 1.11)"
1922
- "pl-cpu (macOS-11, pytorch, 3.9, 1.12)"
@@ -53,6 +56,9 @@ subprojects:
5356
- "requirements/lite/**"
5457
- "src/lightning_lite/**"
5558
- ".actions/**"
59+
- "!requirements/**/docs.txt"
60+
- "!*.md"
61+
- "!**/*.md"
5662
checks:
5763
- "pytorch-lightning (GPUs)"
5864

@@ -61,6 +67,9 @@ subprojects:
6167
- ".azure/gpu-benchmark.yml"
6268
- "tests/tests_pytorch/benchmarks/**"
6369
- "requirements/pytorch/**"
70+
- "!requirements/pytorch/docs.txt"
71+
- "!*.md"
72+
- "!**/*.md"
6473
checks:
6574
- "pytorch-lightning.Benchmark"
6675

@@ -75,6 +84,9 @@ subprojects:
7584
- "tests/tests_pytorch/**"
7685
- "setup.cfg" # includes pytest config
7786
- ".actions/**"
87+
- "!requirements/**/docs.txt"
88+
- "!*.md"
89+
- "!**/*.md"
7890
checks:
7991
- "pytorch-lightning (HPUs)"
8092

@@ -88,6 +100,9 @@ subprojects:
88100
- "tests/tests_pytorch/**"
89101
- "setup.cfg" # includes pytest config
90102
- ".actions/**"
103+
- "!requirements/**/docs.txt"
104+
- "!*.md"
105+
- "!**/*.md"
91106
checks:
92107
- "pytorch-lightning (IPUs)"
93108

@@ -104,6 +119,9 @@ subprojects:
104119
# - "tests/tests_pytorch/**"
105120
# - "setup.cfg" # includes pytest config
106121
# - ".actions/**"
122+
# - "!requirements/**/docs.txt"
123+
# - "!*.md"
124+
# - "!**/*.md"
107125
# checks:
108126
# - "test-on-tpus"
109127

@@ -117,6 +135,8 @@ subprojects:
117135
- "setup.py"
118136
- "setup.cfg" # includes metadata used in the package creation
119137
- ".actions/**"
138+
- "!*.md"
139+
- "!**/*.md"
120140
checks:
121141
- "make-doctest (pytorch)"
122142
- "make-html (pytorch)"
@@ -130,6 +150,9 @@ subprojects:
130150
- "environment.yml"
131151
- "setup.py"
132152
- ".actions/**"
153+
- "!requirements/**/docs.txt"
154+
- "!*.md"
155+
- "!**/*.md"
133156
checks:
134157
- "build-cuda (3.9, 1.10, 11.3.1)"
135158
- "build-cuda (3.9, 1.11, 11.3.1)"
@@ -154,6 +177,9 @@ subprojects:
154177
- "setup.cfg" # includes pytest config
155178
- ".github/workflows/ci-lite-tests.yml"
156179
- ".actions/**"
180+
- "!requirements/lite/docs.txt"
181+
- "!*.md"
182+
- "!**/*.md"
157183
checks:
158184
- "lite-cpu (macOS-11, lite, 3.8, 1.11)"
159185
- "lite-cpu (macOS-11, lite, 3.9, 1.12)"
@@ -184,6 +210,9 @@ subprojects:
184210
- "tests/tests_lite/**"
185211
- "setup.cfg" # includes pytest config
186212
- ".actions/**"
213+
- "!requirements/lite/docs.txt"
214+
- "!*.md"
215+
- "!**/*.md"
187216
checks:
188217
- "lightning-lite (GPUs)"
189218

@@ -198,6 +227,9 @@ subprojects:
198227
- "requirements/app/**"
199228
- "setup.py"
200229
- ".actions/**"
230+
- "!requirements/app/docs.txt"
231+
- "!*.md"
232+
- "!**/*.md"
201233
checks:
202234
- "app-pytest (macOS-11, app, 3.8, latest)"
203235
- "app-pytest (macOS-11, app, 3.8, oldest)"
@@ -218,6 +250,9 @@ subprojects:
218250
- "requirements/app/**"
219251
- "setup.py"
220252
- ".actions/**"
253+
- "!requirements/app/docs.txt"
254+
- "!*.md"
255+
- "!**/*.md"
221256
checks:
222257
- "app-examples (macOS-11, app, 3.9, latest)"
223258
- "app-examples (macOS-11, app, 3.9, oldest)"
@@ -239,6 +274,9 @@ subprojects:
239274
- "tests/tests_app_examples/**"
240275
- "setup.py"
241276
- ".actions/**"
277+
- "!requirements/app/docs.txt"
278+
- "!*.md"
279+
- "!**/*.md"
242280
checks:
243281
- "App.cloud-e2e"
244282

@@ -252,6 +290,8 @@ subprojects:
252290
- "setup.py"
253291
- "setup.cfg" # includes metadata used in the package creation
254292
- ".actions/**"
293+
- "!*.md"
294+
- "!**/*.md"
255295
checks:
256296
- "make-doctest (app)"
257297
- "make-html (app)"
@@ -265,6 +305,9 @@ subprojects:
265305
- "src/**"
266306
- "pyproject.toml" # includes mypy config
267307
- ".actions/**"
308+
- "!requirements/**/docs.txt"
309+
- "!*.md"
310+
- "!**/*.md"
268311
checks:
269312
- "mypy"
270313

@@ -275,6 +318,9 @@ subprojects:
275318
- "setup.py"
276319
- "src/**"
277320
- "requirements/**"
321+
- "!requirements/**/docs.txt"
322+
- "!*.md"
323+
- "!**/*.md"
278324
checks:
279325
- "install-pkg (ubuntu-22.04, app, 3.7)"
280326
- "install-pkg (ubuntu-22.04, app, 3.10)"

.github/workflows/ci-app-examples.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- "requirements/app/**"
1616
- "setup.py"
1717
- ".actions/**"
18+
- "!requirements/app/docs.txt"
19+
- "!*.md"
20+
- "!**/*.md"
1821

1922
concurrency:
2023
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/ci-app-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- "requirements/app/**"
1616
- "setup.py"
1717
- ".actions/**"
18+
- "!requirements/app/docs.txt"
19+
- "!*.md"
20+
- "!**/*.md"
1821

1922
concurrency:
2023
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/ci-lite-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- "setup.cfg" # includes pytest config
1515
- ".github/workflows/ci-lite-tests.yml"
1616
- ".actions/**"
17+
- "!requirements/lite/docs.txt"
18+
- "!*.md"
19+
- "!**/*.md"
1720

1821
concurrency:
1922
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/ci-pkg-install.yml

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
- "setup.py"
1414
- "src/**"
1515
- "requirements/**"
16+
- "!requirements/**/docs.txt"
17+
- "!*.md"
18+
- "!**/*.md"
1619

1720
concurrency:
1821
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/ci-pytorch-dockers.yml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- "environment.yml"
1515
- "setup.py"
1616
- ".actions/**"
17+
- "!requirements/**/docs.txt"
18+
- "!*.md"
19+
- "!**/*.md"
1720
schedule:
1821
- cron: "0 0 * * *" # at the end of every day
1922

.github/workflows/ci-pytorch-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
- "requirements/lite/**"
1818
- "src/lightning_lite/**"
1919
- ".actions/**"
20+
- "!requirements/**/docs.txt"
21+
- "!*.md"
22+
- "!**/*.md"
2023

2124
concurrency:
2225
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/code-checks.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- "src/**"
1212
- "pyproject.toml" # includes mypy config
1313
- ".actions/**"
14+
- "!requirements/**/docs.txt"
15+
- "!*.md"
16+
- "!**/*.md"
1417

1518
concurrency:
1619
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/docs-checks.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
- "setup.py"
1717
- "setup.cfg" # includes metadata used in the package creation
1818
- ".github/workflows/docs-checks.yml"
19+
- "!*.md"
20+
- "!**/*.md"
1921

2022
concurrency:
2123
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/probot-check-group.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: github.event.pull_request.draft == false
1515
timeout-minutes: 61 # in case something is wrong with the internal timeout
1616
steps:
17-
- uses: Lightning-AI/probot@v3
17+
- uses: Lightning-AI/probot@v4
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
with:

.github/workflows/tpu-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
- "tests/tests_pytorch/**"
1818
- "setup.cfg" # includes pytest config
1919
- ".actions/**"
20+
- "!requirements/**/docs.txt"
21+
- "!*.md"
22+
- "!**/*.md"
2023

2124
concurrency:
2225
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

0 commit comments

Comments
 (0)