Skip to content

Commit

Permalink
ci: update m-r workflows to use labeled on pull_request trigger (#3751)
Browse files Browse the repository at this point in the history
  • Loading branch information
grayside authored Jul 22, 2024
1 parent c9b6c1e commit 6de13a9
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 70 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/media-livestream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/media-livestream.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'media/livestream/**'
- '.github/workflows/media-livestream.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'media/livestream/**'
- '.github/workflows/media-livestream.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/media-transcoder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/media-transcoder.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'media/transcoder/**'
- '.github/workflows/media-transcoder.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'media/transcoder/**'
- '.github/workflows/media-transcoder.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/media-video-stitcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/media-video-stitcher.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'media/video-stitcher/**'
- '.github/workflows/media-video-stitcher.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'media/video-stitcher/**'
- '.github/workflows/media-video-stitcher.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/mediatranslation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/mediatranslation.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'mediatranslation/**'
- '.github/workflows/mediatranslation.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'mediatranslation/**'
- '.github/workflows/mediatranslation.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/monitoring-opencensus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/monitoring-opencensus.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'monitoring/opencensus/**'
- '.github/workflows/monitoring-opencensus.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'monitoring/opencensus/**'
- '.github/workflows/monitoring-opencensus.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/monitoring-prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/monitoring-prometheus.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'monitoring/prometheus/**'
- '.github/workflows/monitoring-prometheus.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'monitoring/prometheus/**'
- '.github/workflows/monitoring-prometheus.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/monitoring-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/monitoring-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'monitoring/snippets/**'
- '.github/workflows/monitoring-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'monitoring/snippets/**'
- '.github/workflows/monitoring-snippets.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/opencensus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/opencensus.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'opencensus/**'
- '.github/workflows/opencensus.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'opencensus/**'
- '.github/workflows/opencensus.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/recaptcha-enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/recaptcha-enterprise.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'recaptcha_enterprise/snippets/**'
- '.github/workflows/recaptcha-enterprise.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'recaptcha_enterprise/snippets/**'
- '.github/workflows/recaptcha-enterprise.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/retail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/retail.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'retail/**'
- '.github/workflows/retail.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'retail/**'
- '.github/workflows/retail.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down

0 comments on commit 6de13a9

Please sign in to comment.