Skip to content

Commit

Permalink
ci: update d-e workflows for labeled on pull_request trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
grayside authored and iennae committed Jul 25, 2024
1 parent afe4de0 commit 917da65
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 69 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/datastore-functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/datastore-functions.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'datastore/functions/**'
- '.github/workflows/datastore-functions.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'datastore/functions/**'
- '.github/workflows/datastore-functions.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/dialogflow-cx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ on:
- 'dialogflow-cx/**'
- '.github/workflows/dialogflow-cx.yaml'
pull_request:
paths:
- 'dialogflow-cx/**'
- '.github/workflows/dialogflow-cx.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'dialogflow-cx/**'
- '.github/workflows/dialogflow-cx.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/dialogflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.

name: dialogflow

on:
push:
branches:
Expand All @@ -22,18 +23,17 @@ on:
- '.github/workflows/dialogflow.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'dialogflow/**'
- '.github/workflows/dialogflow.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'dialogflow/**'
- '.github/workflows/dialogflow.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/discoveryengine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/discoveryengine.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'discoveryengine/**'
- '.github/workflows/discoveryengine.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'discoveryengine/**'
- '.github/workflows/discoveryengine.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/document-ai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/document-ai.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'document-ai/**'
- '.github/workflows/document-ai.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'document-ai/**'
- '.github/workflows/document-ai.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/document-warehouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/document-warehouse.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'document-warehouse/**'
- '.github/workflows/document-warehouse.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'document-warehouse/**'
- '.github/workflows/document-warehouse.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
# Ref: https://github.com/google-github-actions/auth#usage
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/endpoints-getting-started-grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/endpoints-getting-started-grpc.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'endpoints/getting-started-grpc/**'
- '.github/workflows/endpoints-getting-started-grpc.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'endpoints/getting-started-grpc/**'
- '.github/workflows/endpoints-getting-started-grpc.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/endpoints-getting-started.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/endpoints-getting-started.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'endpoints/getting-started/**'
- '.github/workflows/endpoints-getting-started.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'endpoints/getting-started/**'
- '.github/workflows/endpoints-getting-started.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/error-reporting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/error-reporting.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'error-reporting/**'
- '.github/workflows/error-reporting.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'error-reporting/**'
- '.github/workflows/error-reporting.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/eventarc-generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/eventarc-generic.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'eventarc/generic/**'
- '.github/workflows/eventarc-generic.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'eventarc/generic/**'
- '.github/workflows/eventarc-generic.yaml'
- '.github/workflows/test.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
permissions:
Expand Down

0 comments on commit 917da65

Please sign in to comment.