Skip to content

Commit 98f5f93

Browse files
author
Yadan Wei
committed
Revert "ci: Disable all non-omni PR workflows"
This reverts commit 8d55aa3.
1 parent 70f032f commit 98f5f93

19 files changed

Lines changed: 186 additions & 38 deletions

.github/workflows/pr-base-v1.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
name: PR - Base v1
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "docker/base/**"
9+
- "scripts/common/**"
10+
- "test/cuda/**"
11+
- "test/security/data/ecr_scan_allowlist/base/**"
12+
- ".github/config/base-v1.yml"
13+
- ".github/workflows/pr-base-v1.yml"
14+
- "!docs/**"
615

716
permissions:
817
contents: read

.github/workflows/pr-base-v2.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
name: PR - Base v2
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "docker/base/**"
9+
- "scripts/common/**"
10+
- "test/cuda/**"
11+
- "test/security/data/ecr_scan_allowlist/base/**"
12+
- ".github/config/base-v2.yml"
13+
- ".github/workflows/pr-base-v2.yml"
14+
- "!docs/**"
615

716
permissions:
817
contents: read

.github/workflows/pr-docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: PR - Documentations
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "**docs**"
69

710
permissions:
811
contents: read

.github/workflows/pr-lambda.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
name: PR - Lambda
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "docker/lambda/**"
9+
- "scripts/lambda/**"
10+
- "scripts/common/**"
11+
- "scripts/telemetry/**"
12+
- "test/lambda/**"
13+
- "test/security/data/ecr_scan_allowlist/lambda/**"
14+
- ".github/workflows/pr-lambda.yml"
15+
- "!docs/**"
616

717
permissions:
818
contents: read

.github/workflows/pr-pytorch-ec2.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
name: PR - PyTorch EC2
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "docker/pytorch/**"
9+
- "scripts/pytorch/**"
10+
- "test/pytorch/**"
11+
- ".github/workflows/pr-pytorch-ec2.yml"
12+
- "!docs/**"
613

714
permissions:
815
contents: read

.github/workflows/pr-ray-ec2-cpu.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: PR - Ray EC2 CPU
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "**ray**"
9+
- "!docs/**"
610

711
permissions:
812
contents: read

.github/workflows/pr-ray-ec2-gpu.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: PR - Ray EC2 GPU
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "**ray**"
9+
- "!docs/**"
610

711
permissions:
812
contents: read

.github/workflows/pr-ray-sagemaker-cpu.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: PR - Ray SageMaker CPU
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "**ray**"
9+
- "!docs/**"
610

711
permissions:
812
contents: read

.github/workflows/pr-ray-sagemaker-gpu.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: PR - Ray SageMaker GPU
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "**ray**"
9+
- "!docs/**"
610

711
permissions:
812
contents: read

.github/workflows/pr-sagemaker-xgboost.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
name: PR - SageMaker XGBoost
22

3-
# Disabled: focusing on omni workflows only
43
on:
5-
workflow_dispatch: {}
4+
pull_request:
5+
branches: [main]
6+
types: [opened, reopened, synchronize]
7+
paths:
8+
- "docker/xgboost/**"
9+
- ".github/config/sagemaker-xgboost.yml"
10+
- ".github/workflows/pr-sagemaker-xgboost.yml"
11+
- "!docs/**"
612

713
permissions:
814
contents: read

0 commit comments

Comments
 (0)