Skip to content

Commit 37a01c5

Browse files
carmoccaBorda
authored andcommitted
Enable Probot CheckGroup v4 (#15649)
(cherry picked from commit 80e7538)
1 parent 68be06e commit 37a01c5

17 files changed

+99
-9
lines changed

.azure/app-cloud-e2e.yml

Lines changed: 11 additions & 8 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ pr:
3737
- "requirements/lite/**"
3838
- "src/lightning_lite/**"
3939
- ".actions/**"
40+
- "!requirements/**/docs.txt"
41+
- "!*.md"
42+
- "!**/*.md"
4043

4144
jobs:
4245
- job: testing

.azure/hpu-tests.yml

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 46 additions & 0 deletions
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)"
@@ -182,6 +208,9 @@ subprojects:
182208
- "tests/tests_lite/**"
183209
- "setup.cfg" # includes pytest config
184210
- ".actions/**"
211+
- "!requirements/lite/docs.txt"
212+
- "!*.md"
213+
- "!**/*.md"
185214
checks:
186215
- "lightning-lite (GPUs)"
187216

@@ -196,6 +225,9 @@ subprojects:
196225
- "requirements/app/**"
197226
- "setup.py"
198227
- ".actions/**"
228+
- "!requirements/app/docs.txt"
229+
- "!*.md"
230+
- "!**/*.md"
199231
checks:
200232
- "app-pytest (macOS-11, app, 3.8, latest)"
201233
- "app-pytest (macOS-11, app, 3.8, oldest)"
@@ -216,6 +248,9 @@ subprojects:
216248
- "requirements/app/**"
217249
- "setup.py"
218250
- ".actions/**"
251+
- "!requirements/app/docs.txt"
252+
- "!*.md"
253+
- "!**/*.md"
219254
checks:
220255
- "app-examples (macOS-11, app, 3.9, latest)"
221256
- "app-examples (macOS-11, app, 3.9, oldest)"
@@ -237,6 +272,9 @@ subprojects:
237272
- "tests/tests_app_examples/**"
238273
- "setup.py"
239274
- ".actions/**"
275+
- "!requirements/app/docs.txt"
276+
- "!*.md"
277+
- "!**/*.md"
240278
checks:
241279
- "App.cloud-e2e"
242280

@@ -250,6 +288,8 @@ subprojects:
250288
- "setup.py"
251289
- "setup.cfg" # includes metadata used in the package creation
252290
- ".actions/**"
291+
- "!*.md"
292+
- "!**/*.md"
253293
checks:
254294
- "make-doctest (app)"
255295
- "make-html (app)"
@@ -263,6 +303,9 @@ subprojects:
263303
- "src/**"
264304
- "pyproject.toml" # includes mypy config
265305
- ".actions/**"
306+
- "!requirements/**/docs.txt"
307+
- "!*.md"
308+
- "!**/*.md"
266309
checks:
267310
- "mypy"
268311

@@ -273,6 +316,9 @@ subprojects:
273316
- "setup.py"
274317
- "src/**"
275318
- "requirements/**"
319+
- "!requirements/**/docs.txt"
320+
- "!*.md"
321+
- "!**/*.md"
276322
checks:
277323
- "install-pkg (ubuntu-22.04, app, 3.7)"
278324
- "install-pkg (ubuntu-22.04, app, 3.10)"

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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 0 deletions
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)