From 0beddbdae289290d87603d527ab006ffa782a0c8 Mon Sep 17 00:00:00 2001 From: Adam Ross Date: Fri, 26 Jul 2024 11:35:10 -0700 Subject: [PATCH] ci: Update a-c workflows for labeled on pull_request trigger (#3754) Co-authored-by: Jennifer Davis --- .github/workflows/asset-snippets.yaml | 13 ++++++------- .github/workflows/auth.yaml | 13 ++++++------- .github/workflows/batch.yaml | 13 ++++++------- .github/workflows/cloud-language.yaml | 13 ++++++------- .github/workflows/cloud-tasks-snippets.yaml | 13 ++++++------- .github/workflows/cloud-tasks-tutorial-gcf-app.yaml | 13 ++++++------- .../cloud-tasks-tutorial-gcf-function.yaml | 13 ++++++------- .github/workflows/cloudbuild.yaml | 13 ++++++------- ...composer-functions-composer-storage-trigger.yaml | 13 ++++++------- .github/workflows/composer.yaml | 13 ++++++------- .github/workflows/compute.yaml | 13 ++++++------- .github/workflows/contact-center-insights.yaml | 13 ++++++------- .github/workflows/container-analysis-snippets.yaml | 13 ++++++------- .github/workflows/container.yaml | 13 ++++++------- 14 files changed, 84 insertions(+), 98 deletions(-) diff --git a/.github/workflows/asset-snippets.yaml b/.github/workflows/asset-snippets.yaml index e07ce7cedc..00acfbd27a 100644 --- a/.github/workflows/asset-snippets.yaml +++ b/.github/workflows/asset-snippets.yaml @@ -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: diff --git a/.github/workflows/auth.yaml b/.github/workflows/auth.yaml index 01a4a10c72..3e336bfe2c 100644 --- a/.github/workflows/auth.yaml +++ b/.github/workflows/auth.yaml @@ -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: diff --git a/.github/workflows/batch.yaml b/.github/workflows/batch.yaml index 2dc45a63f1..71ba06ae8a 100644 --- a/.github/workflows/batch.yaml +++ b/.github/workflows/batch.yaml @@ -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: diff --git a/.github/workflows/cloud-language.yaml b/.github/workflows/cloud-language.yaml index 9cd10c7bd6..4f9a8bd250 100644 --- a/.github/workflows/cloud-language.yaml +++ b/.github/workflows/cloud-language.yaml @@ -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: diff --git a/.github/workflows/cloud-tasks-snippets.yaml b/.github/workflows/cloud-tasks-snippets.yaml index 381effe6cb..37ffdb3168 100644 --- a/.github/workflows/cloud-tasks-snippets.yaml +++ b/.github/workflows/cloud-tasks-snippets.yaml @@ -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: diff --git a/.github/workflows/cloud-tasks-tutorial-gcf-app.yaml b/.github/workflows/cloud-tasks-tutorial-gcf-app.yaml index 3dfc3a5d78..36c0b358cf 100644 --- a/.github/workflows/cloud-tasks-tutorial-gcf-app.yaml +++ b/.github/workflows/cloud-tasks-tutorial-gcf-app.yaml @@ -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: diff --git a/.github/workflows/cloud-tasks-tutorial-gcf-function.yaml b/.github/workflows/cloud-tasks-tutorial-gcf-function.yaml index f5af41a458..8d387c03e8 100644 --- a/.github/workflows/cloud-tasks-tutorial-gcf-function.yaml +++ b/.github/workflows/cloud-tasks-tutorial-gcf-function.yaml @@ -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: diff --git a/.github/workflows/cloudbuild.yaml b/.github/workflows/cloudbuild.yaml index 88d6212db1..eae8b13a4c 100644 --- a/.github/workflows/cloudbuild.yaml +++ b/.github/workflows/cloudbuild.yaml @@ -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: diff --git a/.github/workflows/composer-functions-composer-storage-trigger.yaml b/.github/workflows/composer-functions-composer-storage-trigger.yaml index 23e5f4c609..1c94458815 100644 --- a/.github/workflows/composer-functions-composer-storage-trigger.yaml +++ b/.github/workflows/composer-functions-composer-storage-trigger.yaml @@ -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: diff --git a/.github/workflows/composer.yaml b/.github/workflows/composer.yaml index cba9c4065d..60e49416c7 100644 --- a/.github/workflows/composer.yaml +++ b/.github/workflows/composer.yaml @@ -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: diff --git a/.github/workflows/compute.yaml b/.github/workflows/compute.yaml index 4ee79afc22..ceb504fe8e 100644 --- a/.github/workflows/compute.yaml +++ b/.github/workflows/compute.yaml @@ -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: diff --git a/.github/workflows/contact-center-insights.yaml b/.github/workflows/contact-center-insights.yaml index 3cf83b46de..1dad6bffaa 100644 --- a/.github/workflows/contact-center-insights.yaml +++ b/.github/workflows/contact-center-insights.yaml @@ -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: diff --git a/.github/workflows/container-analysis-snippets.yaml b/.github/workflows/container-analysis-snippets.yaml index 768840534f..a032b94790 100644 --- a/.github/workflows/container-analysis-snippets.yaml +++ b/.github/workflows/container-analysis-snippets.yaml @@ -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: diff --git a/.github/workflows/container.yaml b/.github/workflows/container.yaml index e0165a47a4..5224d55775 100644 --- a/.github/workflows/container.yaml +++ b/.github/workflows/container.yaml @@ -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: