From 6662d014d6263722a94356a1b0417fbc699d6e3d Mon Sep 17 00:00:00 2001 From: Adam Ross Date: Fri, 19 Jul 2024 14:48:02 -0700 Subject: [PATCH] ci(appengine): update tests to use labeled on pull_request trigger --- .github/workflows/appengine-analytics.yaml | 13 ++++++------- .../workflows/appengine-building-an-app-build.yaml | 13 ++++++------- .../workflows/appengine-building-an-app-update.yaml | 13 ++++++------- .github/workflows/appengine-datastore.yaml | 13 ++++++------- .github/workflows/appengine-endpoints.yaml | 13 ++++++------- .../workflows/appengine-hello-world-flexible.yaml | 13 ++++++------- .../workflows/appengine-hello-world-standard.yaml | 13 ++++++------- .github/workflows/appengine-memcached.yaml | 13 ++++++------- .github/workflows/appengine-metadata-flexible.yaml | 13 ++++++------- .github/workflows/appengine-metadata-standard.yaml | 13 ++++++------- .github/workflows/appengine-pubsub.yaml | 13 ++++++------- .github/workflows/appengine-static-files.yaml | 13 ++++++------- .github/workflows/appengine-storage-flexible.yaml | 13 ++++++------- .github/workflows/appengine-storage-standard.yaml | 13 ++++++------- .github/workflows/appengine-typescript.yaml | 13 ++++++------- .github/workflows/appengine-websockets.yaml | 13 ++++++------- 16 files changed, 96 insertions(+), 112 deletions(-) diff --git a/.github/workflows/appengine-analytics.yaml b/.github/workflows/appengine-analytics.yaml index 579290ebc1..5f54cba345 100644 --- a/.github/workflows/appengine-analytics.yaml +++ b/.github/workflows/appengine-analytics.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-analytics.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/analytics/**' - - '.github/workflows/appengine-analytics.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/analytics/**' - '.github/workflows/appengine-analytics.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-building-an-app-build.yaml b/.github/workflows/appengine-building-an-app-build.yaml index 5d594d2e4b..43809245e0 100644 --- a/.github/workflows/appengine-building-an-app-build.yaml +++ b/.github/workflows/appengine-building-an-app-build.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-building-an-app-build.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/building-an-app/build/**' - - '.github/workflows/appengine-building-an-app-build.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/building-an-app/build/**' - '.github/workflows/appengine-building-an-app-build.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-building-an-app-update.yaml b/.github/workflows/appengine-building-an-app-update.yaml index f74ebe21cb..30fa303da3 100644 --- a/.github/workflows/appengine-building-an-app-update.yaml +++ b/.github/workflows/appengine-building-an-app-update.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-building-an-app-update.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/building-an-app/update/**' - - '.github/workflows/appengine-building-an-app-update.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/building-an-app/update/**' - '.github/workflows/appengine-building-an-app-update.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-datastore.yaml b/.github/workflows/appengine-datastore.yaml index 8003ebea0d..c5aa527f22 100644 --- a/.github/workflows/appengine-datastore.yaml +++ b/.github/workflows/appengine-datastore.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-datastore.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/datastore/**' - - '.github/workflows/appengine-datastore.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/datastore/**' - '.github/workflows/appengine-datastore.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-endpoints.yaml b/.github/workflows/appengine-endpoints.yaml index ea245e66cf..57178c691c 100644 --- a/.github/workflows/appengine-endpoints.yaml +++ b/.github/workflows/appengine-endpoints.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-endpoints.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/endpoints/**' - - '.github/workflows/appengine-endpoints.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/endpoints/**' - '.github/workflows/appengine-endpoints.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-hello-world-flexible.yaml b/.github/workflows/appengine-hello-world-flexible.yaml index 3aefe2a42a..0d5aa76204 100644 --- a/.github/workflows/appengine-hello-world-flexible.yaml +++ b/.github/workflows/appengine-hello-world-flexible.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-hello-world-flexible.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/hello-world/flexible/**' - - '.github/workflows/appengine-hello-world-flexible.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/hello-world/flexible/**' - '.github/workflows/appengine-hello-world-flexible.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-hello-world-standard.yaml b/.github/workflows/appengine-hello-world-standard.yaml index 05c6987372..8bf40a36d2 100644 --- a/.github/workflows/appengine-hello-world-standard.yaml +++ b/.github/workflows/appengine-hello-world-standard.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-hello-world-standard.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/hello-world/standard/**' - - '.github/workflows/appengine-hello-world-standard.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/hello-world/standard/**' - '.github/workflows/appengine-hello-world-standard.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-memcached.yaml b/.github/workflows/appengine-memcached.yaml index 4549ecd314..071301a077 100644 --- a/.github/workflows/appengine-memcached.yaml +++ b/.github/workflows/appengine-memcached.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-memcached.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/memcached/**' - - '.github/workflows/appengine-memcached.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/memcached/**' - '.github/workflows/appengine-memcached.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-metadata-flexible.yaml b/.github/workflows/appengine-metadata-flexible.yaml index 783ed80ff8..cae8c2b868 100644 --- a/.github/workflows/appengine-metadata-flexible.yaml +++ b/.github/workflows/appengine-metadata-flexible.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-metadata-flexible.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/metadata/flexible/**' - - '.github/workflows/appengine-metadata-flexible.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/metadata/flexible/**' - '.github/workflows/appengine-metadata-flexible.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-metadata-standard.yaml b/.github/workflows/appengine-metadata-standard.yaml index 2a2fb43d93..b2fb8d22da 100644 --- a/.github/workflows/appengine-metadata-standard.yaml +++ b/.github/workflows/appengine-metadata-standard.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-metadata-standard.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/metadata/standard/**' - - '.github/workflows/appengine-metadata-standard.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/metadata/standard/**' - '.github/workflows/appengine-metadata-standard.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-pubsub.yaml b/.github/workflows/appengine-pubsub.yaml index f784488e41..514184795e 100644 --- a/.github/workflows/appengine-pubsub.yaml +++ b/.github/workflows/appengine-pubsub.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-pubsub.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/pubsub/**' - - '.github/workflows/appengine-pubsub.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/pubsub/**' - '.github/workflows/appengine-pubsub.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-static-files.yaml b/.github/workflows/appengine-static-files.yaml index be94009eac..dbb714c145 100644 --- a/.github/workflows/appengine-static-files.yaml +++ b/.github/workflows/appengine-static-files.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-static-files.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/static-files/**' - - '.github/workflows/appengine-static-files.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/static-files/**' - '.github/workflows/appengine-static-files.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-storage-flexible.yaml b/.github/workflows/appengine-storage-flexible.yaml index 319e976b4d..2fc59f10fd 100644 --- a/.github/workflows/appengine-storage-flexible.yaml +++ b/.github/workflows/appengine-storage-flexible.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-storage-flexible.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/storage/flexible/**' - - '.github/workflows/appengine-storage-flexible.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/storage/flexible/**' - '.github/workflows/appengine-storage-flexible.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-storage-standard.yaml b/.github/workflows/appengine-storage-standard.yaml index 1dee26ae21..154f9d46d1 100644 --- a/.github/workflows/appengine-storage-standard.yaml +++ b/.github/workflows/appengine-storage-standard.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-storage-standard.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/storage/standard/**' - - '.github/workflows/appengine-storage-standard.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/storage/standard/**' - '.github/workflows/appengine-storage-standard.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-typescript.yaml b/.github/workflows/appengine-typescript.yaml index dc3401d25a..cb2e7f7383 100644 --- a/.github/workflows/appengine-typescript.yaml +++ b/.github/workflows/appengine-typescript.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-typescript.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/typescript/**' - - '.github/workflows/appengine-typescript.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/typescript/**' - '.github/workflows/appengine-typescript.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/appengine-websockets.yaml b/.github/workflows/appengine-websockets.yaml index 709e8d6d14..4eff9651c0 100644 --- a/.github/workflows/appengine-websockets.yaml +++ b/.github/workflows/appengine-websockets.yaml @@ -22,18 +22,17 @@ on: - '.github/workflows/appengine-websockets.yaml' - '.github/workflows/test.yaml' pull_request: - paths: - - 'appengine/websockets/**' - - '.github/workflows/appengine-websockets.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] + types: + - opened + - reopened + - synchronize + - labeled paths: - 'appengine/websockets/**' - '.github/workflows/appengine-websockets.yaml' - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: