Skip to content

Commit

Permalink
ci: Update a-c workflows for labeled on pull_request trigger (GoogleC…
Browse files Browse the repository at this point in the history
…loudPlatform#3754)

Co-authored-by: Jennifer Davis <sigje@google.com>
  • Loading branch information
grayside and iennae authored Jul 26, 2024
1 parent 27102d2 commit 0beddbd
Show file tree
Hide file tree
Showing 14 changed files with 84 additions and 98 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/asset-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/asset-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'asset/snippets/**'
- '.github/workflows/asset-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'asset/snippets/**'
- '.github/workflows/asset-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/auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/auth.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'auth/**'
- '.github/workflows/auth.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'auth/**'
- '.github/workflows/auth.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/batch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/batch.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'batch/**'
- '.github/workflows/batch.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'batch/**'
- '.github/workflows/batch.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/cloud-language.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/cloud-language.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'cloud-language/**'
- '.github/workflows/cloud-language.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'cloud-language/**'
- '.github/workflows/cloud-language.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/cloud-tasks-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/cloud-tasks-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'cloud-tasks/snippets/**'
- '.github/workflows/cloud-tasks-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'cloud-tasks/snippets/**'
- '.github/workflows/cloud-tasks-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/cloud-tasks-tutorial-gcf-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/cloud-tasks-tutorial-gcf-app.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'cloud-tasks/tutorial-gcf/app/**'
- '.github/workflows/cloud-tasks-tutorial-gcf-app.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'cloud-tasks/tutorial-gcf/app/**'
- '.github/workflows/cloud-tasks-tutorial-gcf-app.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/cloud-tasks-tutorial-gcf-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/cloud-tasks-tutorial-gcf-function.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'cloud-tasks/tutorial-gcf/function/**'
- '.github/workflows/cloud-tasks-tutorial-gcf-function.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'cloud-tasks/tutorial-gcf/function/**'
- '.github/workflows/cloud-tasks-tutorial-gcf-function.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/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/cloudbuild.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'cloudbuild/**'
- '.github/workflows/cloudbuild.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'cloudbuild/**'
- '.github/workflows/cloudbuild.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/composer-functions-composer-storage-trigger.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'composer/functions/composer-storage-trigger/**'
- '.github/workflows/composer-functions-composer-storage-trigger.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'composer/functions/composer-storage-trigger/**'
- '.github/workflows/composer-functions-composer-storage-trigger.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/composer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/composer.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'composer/**'
- '.github/workflows/composer.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'composer/**'
- '.github/workflows/composer.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/compute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/compute.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'compute/**'
- '.github/workflows/compute.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'compute/**'
- '.github/workflows/compute.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/contact-center-insights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/contact-center-insights.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'contact-center-insights/**'
- '.github/workflows/contact-center-insights.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'contact-center-insights/**'
- '.github/workflows/contact-center-insights.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/container-analysis-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/container-analysis-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'container-analysis/snippets/**'
- '.github/workflows/container-analysis-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'container-analysis/snippets/**'
- '.github/workflows/container-analysis-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/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/container.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'container/**'
- '.github/workflows/container.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'container/**'
- '.github/workflows/container.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down

0 comments on commit 0beddbd

Please sign in to comment.