Skip to content

Commit

Permalink
Merge branch 'main' into prt-ac-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grayside authored Jul 26, 2024
2 parents 392941b + 27102d2 commit bd68ab9
Show file tree
Hide file tree
Showing 18 changed files with 116 additions and 132 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ai-platform-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ on:
- 'ai-platform/snippets/**'
- '.github/workflows/ai-platform-snippets.yaml'
pull_request:
paths:
- 'ai-platform/snippets/**'
- '.github/workflows/ai-platform-snippets.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'ai-platform/snippets/**'
- '.github/workflows/ai-platform-snippets.yaml'
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
jobs:
test:
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
Expand Down Expand Up @@ -67,8 +67,7 @@ jobs:
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
restore-keys: "${{ runner.os }}-node- \n"
- name: set env vars for scheduled run
if: github.event.action == 'schedule'
run: |
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/datacatalog-cloud-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/datacatalog-cloud-client.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'datacatalog/cloud-client/**'
- '.github/workflows/datacatalog-cloud-client.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'datacatalog/cloud-client/**'
- '.github/workflows/datacatalog-cloud-client.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/datacatalog-quickstart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/datacatalog-quickstart.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'datacatalog/quickstart/**'
- '.github/workflows/datacatalog-quickstart.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'datacatalog/quickstart/**'
- '.github/workflows/datacatalog-quickstart.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/datacatalog-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/datacatalog-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'datacatalog/snippets/**'
- '.github/workflows/datacatalog-snippets.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'datacatalog/snippets/**'
- '.github/workflows/datacatalog-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/datalabeling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/datalabeling.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'datalabeling/**'
- '.github/workflows/datalabeling.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'datalabeling/**'
- '.github/workflows/datalabeling.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/dataproc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/dataproc.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'dataproc/**'
- '.github/workflows/dataproc.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'dataproc/**'
- '.github/workflows/dataproc.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/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/dlp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ on:
- '.github/workflows/dlp.yaml'
- '.github/workflows/test.yaml'
pull_request:
paths:
- 'dlp/**'
- '.github/workflows/dlp.yaml'
- '.github/workflows/test.yaml'
pull_request_target:
types: [labeled]
types:
- opened
- reopened
- synchronize
- labeled
paths:
- 'dlp/**'
- '.github/workflows/dlp.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
Loading

0 comments on commit bd68ab9

Please sign in to comment.