Skip to content

Commit 6de13a9

Browse files
authored
ci: update m-r workflows to use labeled on pull_request trigger (#3751)
1 parent c9b6c1e commit 6de13a9

10 files changed

+60
-70
lines changed

.github/workflows/media-livestream.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/media-livestream.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'media/livestream/**'
27-
- '.github/workflows/media-livestream.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'media/livestream/**'
3332
- '.github/workflows/media-livestream.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

.github/workflows/media-transcoder.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/media-transcoder.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'media/transcoder/**'
27-
- '.github/workflows/media-transcoder.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'media/transcoder/**'
3332
- '.github/workflows/media-transcoder.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

.github/workflows/media-video-stitcher.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/media-video-stitcher.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'media/video-stitcher/**'
27-
- '.github/workflows/media-video-stitcher.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'media/video-stitcher/**'
3332
- '.github/workflows/media-video-stitcher.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

.github/workflows/mediatranslation.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/mediatranslation.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'mediatranslation/**'
27-
- '.github/workflows/mediatranslation.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'mediatranslation/**'
3332
- '.github/workflows/mediatranslation.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

.github/workflows/monitoring-opencensus.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/monitoring-opencensus.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'monitoring/opencensus/**'
27-
- '.github/workflows/monitoring-opencensus.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'monitoring/opencensus/**'
3332
- '.github/workflows/monitoring-opencensus.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

.github/workflows/monitoring-prometheus.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/monitoring-prometheus.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'monitoring/prometheus/**'
27-
- '.github/workflows/monitoring-prometheus.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'monitoring/prometheus/**'
3332
- '.github/workflows/monitoring-prometheus.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

.github/workflows/monitoring-snippets.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/monitoring-snippets.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'monitoring/snippets/**'
27-
- '.github/workflows/monitoring-snippets.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'monitoring/snippets/**'
3332
- '.github/workflows/monitoring-snippets.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

.github/workflows/opencensus.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/opencensus.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'opencensus/**'
27-
- '.github/workflows/opencensus.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'opencensus/**'
3332
- '.github/workflows/opencensus.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

.github/workflows/recaptcha-enterprise.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/recaptcha-enterprise.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'recaptcha_enterprise/snippets/**'
27-
- '.github/workflows/recaptcha-enterprise.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'recaptcha_enterprise/snippets/**'
3332
- '.github/workflows/recaptcha-enterprise.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

.github/workflows/retail.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ on:
2222
- '.github/workflows/retail.yaml'
2323
- '.github/workflows/test.yaml'
2424
pull_request:
25-
paths:
26-
- 'retail/**'
27-
- '.github/workflows/retail.yaml'
28-
- '.github/workflows/test.yaml'
29-
pull_request_target:
30-
types: [labeled]
25+
types:
26+
- opened
27+
- reopened
28+
- synchronize
29+
- labeled
3130
paths:
3231
- 'retail/**'
3332
- '.github/workflows/retail.yaml'
3433
- '.github/workflows/test.yaml'
3534
schedule:
36-
- cron: '0 0 * * 0'
35+
- cron: '0 0 * * 0'
3736
jobs:
3837
test:
3938
permissions:

0 commit comments

Comments
 (0)