Skip to content

Commit 09e7e4e

Browse files
authored
Run cloud/head jobs when label (#1250)
1 parent 9731ddf commit 09e7e4e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/run-tests-cloud.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ on:
66
push:
77
branches:
88
- main
9+
pull_request:
10+
types: [labeled]
911

1012
jobs:
1113
cloud:
14+
if: github.event.label.name == 'tests:run-cloud' || github.event_name == 'push'
1215
runs-on: ubuntu-latest
1316
defaults:
1417
run:

.github/workflows/run-tests-head.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ on:
66
schedule:
77
- cron: "0 0 * * *"
88
workflow_dispatch:
9+
pull_request:
10+
types: [labeled]
911

1012
jobs:
1113
test-ch-head:
14+
if: github.event.label.name == 'tests:run-head' || github.event_name == 'push' || github.event_name == 'schedule'
1215
runs-on: ubuntu-latest
1316
strategy:
1417
fail-fast: true

0 commit comments

Comments
 (0)