From 15917e0c670320c7b065df1ebcca3bce40a042e6 Mon Sep 17 00:00:00 2001 From: Adam Ross Date: Fri, 19 Jul 2024 13:28:36 -0700 Subject: [PATCH] ci(functions): update tests to use labeled on pull_request trigger --- .github/workflows/functions-concepts.yaml | 29 ++--- .github/workflows/functions-firebase.yaml | 27 ++-- .github/workflows/functions-helloworld.yaml | 27 ++-- .github/workflows/functions-http.yaml | 27 ++-- .../workflows/functions-log-helloWorld.yaml | 27 ++-- .../workflows/functions-log-processEntry.yaml | 27 ++-- .../functions-memorystore-redis.yaml | 27 ++-- .github/workflows/functions-pubsub.yaml | 27 ++-- .../workflows/functions-scheduleinstance.yaml | 27 ++-- .github/workflows/functions-security.yaml | 27 ++-- .github/workflows/functions-slack.yaml | 122 +++++++++--------- .github/workflows/functions-spanner.yaml | 27 ++-- .../functions-speech-to-speech-functions.yaml | 27 ++-- .github/workflows/functions-tips.yaml | 27 ++-- .../functions-v2-autolabelinstance.yaml | 27 ++-- .../functions-v2-cloudeventlogging.yaml | 27 ++-- ...-v2-firebase-firestore-helloFirestore.yaml | 27 ++-- ...s-v2-firebase-firestore-makeUpperCase.yaml | 27 ++-- ...ebase-remote-config-helloRemoteConfig.yaml | 27 ++-- .../functions-v2-firebase-rtdb-helloRTDB.yaml | 27 ++-- .../workflows/functions-v2-helloauditlog.yaml | 27 ++-- .../workflows/functions-v2-hellobigquery.yaml | 27 ++-- .github/workflows/functions-v2-hellogcs.yaml | 27 ++-- .../workflows/functions-v2-hellopubsub.yaml | 27 ++-- .../workflows/functions-v2-httplogging.yaml | 27 ++-- .../functions-v2-log-processEntry.yaml | 27 ++-- .github/workflows/functions-v2-ocr-app.yaml | 27 ++-- ...unctions-v2-tips-avoidInfiniteRetries.yaml | 27 ++-- .../workflows/functions-v2-tips-retry.yaml | 27 ++-- .../functions-v2-typed-googlechatbot.yaml | 27 ++-- .../functions-v2-typed-greeting.yaml | 27 ++-- 31 files changed, 452 insertions(+), 482 deletions(-) diff --git a/.github/workflows/functions-concepts.yaml b/.github/workflows/functions-concepts.yaml index 511c0119a0..75b1921dc0 100644 --- a/.github/workflows/functions-concepts.yaml +++ b/.github/workflows/functions-concepts.yaml @@ -16,24 +16,23 @@ name: functions-concepts on: push: branches: - - main + - main paths: - - 'functions/concepts/**' - - '.github/workflows/functions-concepts.yaml' - - '.github/workflows/test.yaml' + - 'functions/concepts/**' + - '.github/workflows/functions-concepts.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/concepts/**' - - '.github/workflows/functions-concepts.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/concepts/**' - - '.github/workflows/functions-concepts.yaml' - - '.github/workflows/test.yaml' + - 'functions/concepts/**' + - '.github/workflows/functions-concepts.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: @@ -49,7 +48,7 @@ jobs: - 'functions/concepts/filesystem' - 'functions/concepts/httpTermination' - 'functions/concepts/requests' - - 'functions/concepts/stateless' + - 'functions/concepts/stateless' uses: ./.github/workflows/test.yaml with: name: 'functions-concepts' diff --git a/.github/workflows/functions-firebase.yaml b/.github/workflows/functions-firebase.yaml index cb086652b5..c118dae975 100644 --- a/.github/workflows/functions-firebase.yaml +++ b/.github/workflows/functions-firebase.yaml @@ -16,24 +16,23 @@ name: functions-firebase on: push: branches: - - main + - main paths: - - 'functions/firebase/**' - - '.github/workflows/functions-firebase.yaml' - - '.github/workflows/test.yaml' + - 'functions/firebase/**' + - '.github/workflows/functions-firebase.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/firebase/**' - - '.github/workflows/functions-firebase.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/firebase/**' - - '.github/workflows/functions-firebase.yaml' - - '.github/workflows/test.yaml' + - 'functions/firebase/**' + - '.github/workflows/functions-firebase.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-helloworld.yaml b/.github/workflows/functions-helloworld.yaml index 3a1a746a3d..8f985ade34 100644 --- a/.github/workflows/functions-helloworld.yaml +++ b/.github/workflows/functions-helloworld.yaml @@ -16,24 +16,23 @@ name: functions-helloworld on: push: branches: - - main + - main paths: - - 'functions/helloworld/**' - - '.github/workflows/functions-helloworld.yaml' - - '.github/workflows/test.yaml' + - 'functions/helloworld/**' + - '.github/workflows/functions-helloworld.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/helloworld/**' - - '.github/workflows/functions-helloworld.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/helloworld/**' - - '.github/workflows/functions-helloworld.yaml' - - '.github/workflows/test.yaml' + - 'functions/helloworld/**' + - '.github/workflows/functions-helloworld.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-http.yaml b/.github/workflows/functions-http.yaml index 03df4add0f..9f4303a54f 100644 --- a/.github/workflows/functions-http.yaml +++ b/.github/workflows/functions-http.yaml @@ -16,24 +16,23 @@ name: functions-http on: push: branches: - - main + - main paths: - - 'functions/http/**' - - '.github/workflows/functions-http.yaml' - - '.github/workflows/test.yaml' + - 'functions/http/**' + - '.github/workflows/functions-http.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/http/**' - - '.github/workflows/functions-http.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/http/**' - - '.github/workflows/functions-http.yaml' - - '.github/workflows/test.yaml' + - 'functions/http/**' + - '.github/workflows/functions-http.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-log-helloWorld.yaml b/.github/workflows/functions-log-helloWorld.yaml index 8f0069d459..3a39e6fc43 100644 --- a/.github/workflows/functions-log-helloWorld.yaml +++ b/.github/workflows/functions-log-helloWorld.yaml @@ -16,24 +16,23 @@ name: functions-log-helloWorld on: push: branches: - - main + - main paths: - - 'functions/log/helloWorld/**' - - '.github/workflows/functions-log-helloWorld.yaml' - - '.github/workflows/test.yaml' + - 'functions/log/helloWorld/**' + - '.github/workflows/functions-log-helloWorld.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/log/helloWorld/**' - - '.github/workflows/functions-log-helloWorld.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/log/helloWorld/**' - - '.github/workflows/functions-log-helloWorld.yaml' - - '.github/workflows/test.yaml' + - 'functions/log/helloWorld/**' + - '.github/workflows/functions-log-helloWorld.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-log-processEntry.yaml b/.github/workflows/functions-log-processEntry.yaml index 208af09636..c1d05bb567 100644 --- a/.github/workflows/functions-log-processEntry.yaml +++ b/.github/workflows/functions-log-processEntry.yaml @@ -16,24 +16,23 @@ name: functions-log-processEntry on: push: branches: - - main + - main paths: - - 'functions/log/processEntry/**' - - '.github/workflows/functions-log-processEntry.yaml' - - '.github/workflows/test.yaml' + - 'functions/log/processEntry/**' + - '.github/workflows/functions-log-processEntry.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/log/processEntry/**' - - '.github/workflows/functions-log-processEntry.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/log/processEntry/**' - - '.github/workflows/functions-log-processEntry.yaml' - - '.github/workflows/test.yaml' + - 'functions/log/processEntry/**' + - '.github/workflows/functions-log-processEntry.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-memorystore-redis.yaml b/.github/workflows/functions-memorystore-redis.yaml index 239ab8e260..723dc409c1 100644 --- a/.github/workflows/functions-memorystore-redis.yaml +++ b/.github/workflows/functions-memorystore-redis.yaml @@ -16,24 +16,23 @@ name: functions-memorystore-redis on: push: branches: - - main + - main paths: - - 'functions/memorystore/redis/**' - - '.github/workflows/functions-memorystore-redis.yaml' - - '.github/workflows/test.yaml' + - 'functions/memorystore/redis/**' + - '.github/workflows/functions-memorystore-redis.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/memorystore/redis/**' - - '.github/workflows/functions-memorystore-redis.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/memorystore/redis/**' - - '.github/workflows/functions-memorystore-redis.yaml' - - '.github/workflows/test.yaml' + - 'functions/memorystore/redis/**' + - '.github/workflows/functions-memorystore-redis.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-pubsub.yaml b/.github/workflows/functions-pubsub.yaml index 9a360a254a..7f90afa184 100644 --- a/.github/workflows/functions-pubsub.yaml +++ b/.github/workflows/functions-pubsub.yaml @@ -16,24 +16,23 @@ name: functions-pubsub on: push: branches: - - main + - main paths: - - 'functions/pubsub/**' - - '.github/workflows/functions-pubsub.yaml' - - '.github/workflows/test.yaml' + - 'functions/pubsub/**' + - '.github/workflows/functions-pubsub.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/pubsub/**' - - '.github/workflows/functions-pubsub.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/pubsub/**' - - '.github/workflows/functions-pubsub.yaml' - - '.github/workflows/test.yaml' + - 'functions/pubsub/**' + - '.github/workflows/functions-pubsub.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-scheduleinstance.yaml b/.github/workflows/functions-scheduleinstance.yaml index e43f035b03..c21a40ab60 100644 --- a/.github/workflows/functions-scheduleinstance.yaml +++ b/.github/workflows/functions-scheduleinstance.yaml @@ -16,24 +16,23 @@ name: functions-scheduleinstance on: push: branches: - - main + - main paths: - - 'functions/scheduleinstance/**' - - '.github/workflows/functions-scheduleinstance.yaml' - - '.github/workflows/test.yaml' + - 'functions/scheduleinstance/**' + - '.github/workflows/functions-scheduleinstance.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/scheduleinstance/**' - - '.github/workflows/functions-scheduleinstance.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/scheduleinstance/**' - - '.github/workflows/functions-scheduleinstance.yaml' - - '.github/workflows/test.yaml' + - 'functions/scheduleinstance/**' + - '.github/workflows/functions-scheduleinstance.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-security.yaml b/.github/workflows/functions-security.yaml index c526bddfde..2875371513 100644 --- a/.github/workflows/functions-security.yaml +++ b/.github/workflows/functions-security.yaml @@ -16,24 +16,23 @@ name: functions-security on: push: branches: - - main + - main paths: - - 'functions/security/**' - - '.github/workflows/functions-security.yaml' - - '.github/workflows/test.yaml' + - 'functions/security/**' + - '.github/workflows/functions-security.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/security/**' - - '.github/workflows/functions-security.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/security/**' - - '.github/workflows/functions-security.yaml' - - '.github/workflows/test.yaml' + - 'functions/security/**' + - '.github/workflows/functions-security.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-slack.yaml b/.github/workflows/functions-slack.yaml index fdf8ede75c..c2283be03c 100644 --- a/.github/workflows/functions-slack.yaml +++ b/.github/workflows/functions-slack.yaml @@ -16,21 +16,21 @@ name: functions-slack on: push: branches: - - main + - main paths: - - 'functions/slack/**' - - '.github/workflows/functions-slack.yaml' + - 'functions/slack/**' + - '.github/workflows/functions-slack.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/slack/**' - - '.github/workflows/functions-slack.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/slack/**' - - '.github/workflows/functions-slack.yaml' + - 'functions/slack/**' + - '.github/workflows/functions-slack.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: @@ -40,56 +40,56 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 120 steps: - - uses: actions/checkout@v4.1.0 - with: - ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v1.1.1' - with: - workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider' - service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com' - create_credentials_file: 'true' - access_token_lifetime: 600s - - id: secrets - uses: 'google-github-actions/get-secretmanager-secrets@v1' - with: - secrets: |- - slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret - kg_api_key:nodejs-docs-samples-tests/nodejs-docs-samples-kg-api-key - - uses: actions/setup-node@v4.0.0 - with: - node-version: 16 - - name: Get npm cache directory - id: npm-cache-dir - shell: bash - run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v3 - id: npm-cache - with: - path: ${{ steps.npm-cache-dir.outputs.dir }} - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: set env vars for scheduled run - if: github.event.action == 'schedule' - run: | - echo "MOCHA_REPORTER_SUITENAME=functions-slack" >> $GITHUB_ENV - echo "MOCHA_REPORTER_OUTPUT=${{github.run_id}}_sponge_log.xml" >> $GITHUB_ENV - echo "MOCHA_REPORTER=xunit" >> $GITHUB_ENV - - name: Run Tests - run: make test dir=functions/slack - env: - GOOGLE_SAMPLES_PROJECT: "long-door-651" - SLACK_SECRET: ${{ steps.secrets.outputs.slack_secret }} - KG_API_KEY: ${{ steps.secrets.outputs.kg_api_key }} - - name: upload test results for FlakyBot workflow - if: github.event.action == 'schedule' && always() - uses: actions/upload-artifact@v3 - env: - MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" - with: - name: test-results - path: functions/slack/${{ env.MOCHA_REPORTER_OUTPUT }} - retention-days: 1 + - uses: actions/checkout@v4.1.0 + with: + ref: ${{github.event.pull_request.head.sha}} + - uses: 'google-github-actions/auth@v1.1.1' + with: + workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider' + service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com' + create_credentials_file: 'true' + access_token_lifetime: 600s + - id: secrets + uses: 'google-github-actions/get-secretmanager-secrets@v1' + with: + secrets: |- + slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret + kg_api_key:nodejs-docs-samples-tests/nodejs-docs-samples-kg-api-key + - uses: actions/setup-node@v4.0.0 + with: + node-version: 16 + - name: Get npm cache directory + id: npm-cache-dir + shell: bash + run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} + - uses: actions/cache@v3 + id: npm-cache + with: + path: ${{ steps.npm-cache-dir.outputs.dir }} + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: set env vars for scheduled run + if: github.event.action == 'schedule' + run: | + echo "MOCHA_REPORTER_SUITENAME=functions-slack" >> $GITHUB_ENV + echo "MOCHA_REPORTER_OUTPUT=${{github.run_id}}_sponge_log.xml" >> $GITHUB_ENV + echo "MOCHA_REPORTER=xunit" >> $GITHUB_ENV + - name: Run Tests + run: make test dir=functions/slack + env: + GOOGLE_SAMPLES_PROJECT: "long-door-651" + SLACK_SECRET: ${{ steps.secrets.outputs.slack_secret }} + KG_API_KEY: ${{ steps.secrets.outputs.kg_api_key }} + - name: upload test results for FlakyBot workflow + if: github.event.action == 'schedule' && always() + uses: actions/upload-artifact@v3 + env: + MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" + with: + name: test-results + path: functions/slack/${{ env.MOCHA_REPORTER_OUTPUT }} + retention-days: 1 flakybot: permissions: contents: 'read' diff --git a/.github/workflows/functions-spanner.yaml b/.github/workflows/functions-spanner.yaml index 7d790b9fdc..fabe1c2c50 100644 --- a/.github/workflows/functions-spanner.yaml +++ b/.github/workflows/functions-spanner.yaml @@ -16,24 +16,23 @@ name: functions-spanner on: push: branches: - - main + - main paths: - - 'functions/spanner/**' - - '.github/workflows/functions-spanner.yaml' - - '.github/workflows/test.yaml' + - 'functions/spanner/**' + - '.github/workflows/functions-spanner.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/spanner/**' - - '.github/workflows/functions-spanner.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/spanner/**' - - '.github/workflows/functions-spanner.yaml' - - '.github/workflows/test.yaml' + - 'functions/spanner/**' + - '.github/workflows/functions-spanner.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-speech-to-speech-functions.yaml b/.github/workflows/functions-speech-to-speech-functions.yaml index 2f865fffb2..6ad23238d4 100644 --- a/.github/workflows/functions-speech-to-speech-functions.yaml +++ b/.github/workflows/functions-speech-to-speech-functions.yaml @@ -16,24 +16,23 @@ name: functions-speech-to-speech-functions on: push: branches: - - main + - main paths: - - 'functions/speech-to-speech/functions/**' - - '.github/workflows/functions-speech-to-speech-functions.yaml' - - '.github/workflows/test.yaml' + - 'functions/speech-to-speech/functions/**' + - '.github/workflows/functions-speech-to-speech-functions.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/speech-to-speech/functions/**' - - '.github/workflows/functions-speech-to-speech-functions.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/speech-to-speech/functions/**' - - '.github/workflows/functions-speech-to-speech-functions.yaml' - - '.github/workflows/test.yaml' + - 'functions/speech-to-speech/functions/**' + - '.github/workflows/functions-speech-to-speech-functions.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-tips.yaml b/.github/workflows/functions-tips.yaml index 77f47eae8e..c649f7f40d 100644 --- a/.github/workflows/functions-tips.yaml +++ b/.github/workflows/functions-tips.yaml @@ -16,24 +16,23 @@ name: functions-tips on: push: branches: - - main + - main paths: - - 'functions/tips/**' - - '.github/workflows/functions-tips.yaml' - - '.github/workflows/test.yaml' + - 'functions/tips/**' + - '.github/workflows/functions-tips.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/tips/**' - - '.github/workflows/functions-tips.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/tips/**' - - '.github/workflows/functions-tips.yaml' - - '.github/workflows/test.yaml' + - 'functions/tips/**' + - '.github/workflows/functions-tips.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-autolabelinstance.yaml b/.github/workflows/functions-v2-autolabelinstance.yaml index bdc4de9e01..529c33fb12 100644 --- a/.github/workflows/functions-v2-autolabelinstance.yaml +++ b/.github/workflows/functions-v2-autolabelinstance.yaml @@ -16,24 +16,23 @@ name: functions-v2-autoLabelInstance on: push: branches: - - main + - main paths: - - 'functions/v2/autoLabelInstance/**' - - '.github/workflows/functions-v2-autoLabelInstance.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/autoLabelInstance/**' + - '.github/workflows/functions-v2-autoLabelInstance.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/autoLabelInstance/**' - - '.github/workflows/functions-v2-autoLabelInstance.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/autoLabelInstance/**' - - '.github/workflows/functions-v2-autoLabelInstance.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/autoLabelInstance/**' + - '.github/workflows/functions-v2-autoLabelInstance.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-cloudeventlogging.yaml b/.github/workflows/functions-v2-cloudeventlogging.yaml index c81b656a9a..ddd878fd76 100644 --- a/.github/workflows/functions-v2-cloudeventlogging.yaml +++ b/.github/workflows/functions-v2-cloudeventlogging.yaml @@ -16,24 +16,23 @@ name: functions-v2-cloudEventLogging on: push: branches: - - main + - main paths: - - 'functions/v2/cloudEventLogging/**' - - '.github/workflows/functions-v2-cloudEventLogging.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/cloudEventLogging/**' + - '.github/workflows/functions-v2-cloudEventLogging.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/cloudEventLogging/**' - - '.github/workflows/functions-v2-cloudEventLogging.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/cloudEventLogging/**' - - '.github/workflows/functions-v2-cloudEventLogging.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/cloudEventLogging/**' + - '.github/workflows/functions-v2-cloudEventLogging.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-firebase-firestore-helloFirestore.yaml b/.github/workflows/functions-v2-firebase-firestore-helloFirestore.yaml index 9c5a415b1a..f035e1a5c9 100644 --- a/.github/workflows/functions-v2-firebase-firestore-helloFirestore.yaml +++ b/.github/workflows/functions-v2-firebase-firestore-helloFirestore.yaml @@ -16,24 +16,23 @@ name: functions-v2-firebase-firestore-helloFirestore on: push: branches: - - main + - main paths: - - 'functions/v2/firebase/firestore/helloFirestore/**' - - '.github/workflows/functions-v2-firebase-firestore-helloFirestore.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/firebase/firestore/helloFirestore/**' + - '.github/workflows/functions-v2-firebase-firestore-helloFirestore.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/firebase/firestore/helloFirestore/**' - - '.github/workflows/functions-v2-firebase-firestore-helloFirestore.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/firebase/firestore/helloFirestore/**' - - '.github/workflows/functions-v2-firebase-firestore-helloFirestore.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/firebase/firestore/helloFirestore/**' + - '.github/workflows/functions-v2-firebase-firestore-helloFirestore.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-firebase-firestore-makeUpperCase.yaml b/.github/workflows/functions-v2-firebase-firestore-makeUpperCase.yaml index f897d7374e..e2a13b2465 100644 --- a/.github/workflows/functions-v2-firebase-firestore-makeUpperCase.yaml +++ b/.github/workflows/functions-v2-firebase-firestore-makeUpperCase.yaml @@ -16,24 +16,23 @@ name: functions-v2-firebase-firestore-makeUpperCase on: push: branches: - - main + - main paths: - - 'functions/v2/firebase/firestore/makeUpperCase/**' - - '.github/workflows/functions-v2-firebase-firestore-makeUpperCase.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/firebase/firestore/makeUpperCase/**' + - '.github/workflows/functions-v2-firebase-firestore-makeUpperCase.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/firebase/firestore/makeUpperCase/**' - - '.github/workflows/functions-v2-firebase-firestore-makeUpperCase.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/firebase/firestore/makeUpperCase/**' - - '.github/workflows/functions-v2-firebase-firestore-makeUpperCase.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/firebase/firestore/makeUpperCase/**' + - '.github/workflows/functions-v2-firebase-firestore-makeUpperCase.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-firebase-remote-config-helloRemoteConfig.yaml b/.github/workflows/functions-v2-firebase-remote-config-helloRemoteConfig.yaml index e7c4544e2c..56811641e0 100644 --- a/.github/workflows/functions-v2-firebase-remote-config-helloRemoteConfig.yaml +++ b/.github/workflows/functions-v2-firebase-remote-config-helloRemoteConfig.yaml @@ -16,24 +16,23 @@ name: functions-v2-firebase-remote-config-helloRemoteConfig on: push: branches: - - main + - main paths: - - 'functions/v2/firebase/remote-config/helloRemoteConfig/**' - - '.github/workflows/functions-v2-firebase-remote-config-helloRemoteConfig.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/firebase/remote-config/helloRemoteConfig/**' + - '.github/workflows/functions-v2-firebase-remote-config-helloRemoteConfig.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/firebase/remote-config/helloRemoteConfig/**' - - '.github/workflows/functions-v2-firebase-remote-config-helloRemoteConfig.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/firebase/remote-config/helloRemoteConfig/**' - - '.github/workflows/functions-v2-firebase-remote-config-helloRemoteConfig.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/firebase/remote-config/helloRemoteConfig/**' + - '.github/workflows/functions-v2-firebase-remote-config-helloRemoteConfig.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-firebase-rtdb-helloRTDB.yaml b/.github/workflows/functions-v2-firebase-rtdb-helloRTDB.yaml index 8e9761194e..1542ba278d 100644 --- a/.github/workflows/functions-v2-firebase-rtdb-helloRTDB.yaml +++ b/.github/workflows/functions-v2-firebase-rtdb-helloRTDB.yaml @@ -16,24 +16,23 @@ name: functions-v2-firebase-rtdb-helloRTDB on: push: branches: - - main + - main paths: - - 'functions/v2/firebase/rtdb/helloRTDB/**' - - '.github/workflows/functions-v2-firebase-rtdb-helloRTDB.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/firebase/rtdb/helloRTDB/**' + - '.github/workflows/functions-v2-firebase-rtdb-helloRTDB.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/firebase/rtdb/helloRTDB/**' - - '.github/workflows/functions-v2-firebase-rtdb-helloRTDB.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/firebase/rtdb/helloRTDB/**' - - '.github/workflows/functions-v2-firebase-rtdb-helloRTDB.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/firebase/rtdb/helloRTDB/**' + - '.github/workflows/functions-v2-firebase-rtdb-helloRTDB.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-helloauditlog.yaml b/.github/workflows/functions-v2-helloauditlog.yaml index d43fc455ca..8aabf383db 100644 --- a/.github/workflows/functions-v2-helloauditlog.yaml +++ b/.github/workflows/functions-v2-helloauditlog.yaml @@ -16,24 +16,23 @@ name: functions-v2-helloAuditLog on: push: branches: - - main + - main paths: - - 'functions/v2/helloAuditLog/**' - - '.github/workflows/functions-v2-helloAuditLog.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/helloAuditLog/**' + - '.github/workflows/functions-v2-helloAuditLog.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/helloAuditLog/**' - - '.github/workflows/functions-v2-helloAuditLog.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/helloAuditLog/**' - - '.github/workflows/functions-v2-helloAuditLog.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/helloAuditLog/**' + - '.github/workflows/functions-v2-helloAuditLog.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-hellobigquery.yaml b/.github/workflows/functions-v2-hellobigquery.yaml index 002f66294a..ac42e27ad0 100644 --- a/.github/workflows/functions-v2-hellobigquery.yaml +++ b/.github/workflows/functions-v2-hellobigquery.yaml @@ -16,24 +16,23 @@ name: functions-v2-helloBigQuery on: push: branches: - - main + - main paths: - - 'functions/v2/helloBigQuery/**' - - '.github/workflows/functions-v2-helloBigQuery.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/helloBigQuery/**' + - '.github/workflows/functions-v2-helloBigQuery.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/helloBigQuery/**' - - '.github/workflows/functions-v2-helloBigQuery.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/helloBigQuery/**' - - '.github/workflows/functions-v2-helloBigQuery.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/helloBigQuery/**' + - '.github/workflows/functions-v2-helloBigQuery.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-hellogcs.yaml b/.github/workflows/functions-v2-hellogcs.yaml index 517a24aad4..e9264c3bd7 100644 --- a/.github/workflows/functions-v2-hellogcs.yaml +++ b/.github/workflows/functions-v2-hellogcs.yaml @@ -16,24 +16,23 @@ name: functions-v2-helloGCS on: push: branches: - - main + - main paths: - - 'functions/v2/helloGCS/**' - - '.github/workflows/functions-v2-helloGCS.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/helloGCS/**' + - '.github/workflows/functions-v2-helloGCS.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/helloGCS/**' - - '.github/workflows/functions-v2-helloGCS.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/helloGCS/**' - - '.github/workflows/functions-v2-helloGCS.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/helloGCS/**' + - '.github/workflows/functions-v2-helloGCS.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-hellopubsub.yaml b/.github/workflows/functions-v2-hellopubsub.yaml index b47cd12027..cf0a735117 100644 --- a/.github/workflows/functions-v2-hellopubsub.yaml +++ b/.github/workflows/functions-v2-hellopubsub.yaml @@ -16,24 +16,23 @@ name: functions-v2-helloPubSub on: push: branches: - - main + - main paths: - - 'functions/v2/helloPubSub/**' - - '.github/workflows/functions-v2-helloPubSub.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/helloPubSub/**' + - '.github/workflows/functions-v2-helloPubSub.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/helloPubSub/**' - - '.github/workflows/functions-v2-helloPubSub.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/helloPubSub/**' - - '.github/workflows/functions-v2-helloPubSub.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/helloPubSub/**' + - '.github/workflows/functions-v2-helloPubSub.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-httplogging.yaml b/.github/workflows/functions-v2-httplogging.yaml index 34a55375f9..4f263fea1b 100644 --- a/.github/workflows/functions-v2-httplogging.yaml +++ b/.github/workflows/functions-v2-httplogging.yaml @@ -16,24 +16,23 @@ name: functions-v2-httpLogging on: push: branches: - - main + - main paths: - - 'functions/v2/httpLogging/**' - - '.github/workflows/functions-v2-httpLogging.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/httpLogging/**' + - '.github/workflows/functions-v2-httpLogging.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/httpLogging/**' - - '.github/workflows/functions-v2-httpLogging.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/httpLogging/**' - - '.github/workflows/functions-v2-httpLogging.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/httpLogging/**' + - '.github/workflows/functions-v2-httpLogging.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-log-processEntry.yaml b/.github/workflows/functions-v2-log-processEntry.yaml index 34fe926dae..7ac1133ee9 100644 --- a/.github/workflows/functions-v2-log-processEntry.yaml +++ b/.github/workflows/functions-v2-log-processEntry.yaml @@ -16,24 +16,23 @@ name: functions-v2-log-processEntry on: push: branches: - - main + - main paths: - - 'functions/v2/log/processEntry/**' - - '.github/workflows/functions-v2-log-processEntry.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/log/processEntry/**' + - '.github/workflows/functions-v2-log-processEntry.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/log/processEntry/**' - - '.github/workflows/functions-v2-log-processEntry.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/log/processEntry/**' - - '.github/workflows/functions-v2-log-processEntry.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/log/processEntry/**' + - '.github/workflows/functions-v2-log-processEntry.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-ocr-app.yaml b/.github/workflows/functions-v2-ocr-app.yaml index c50d6da923..f1cd364a4a 100644 --- a/.github/workflows/functions-v2-ocr-app.yaml +++ b/.github/workflows/functions-v2-ocr-app.yaml @@ -16,24 +16,23 @@ name: functions-v2-ocr-app on: push: branches: - - main + - main paths: - - 'functions/v2/ocr/app/**' - - '.github/workflows/functions-v2-ocr-app.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/ocr/app/**' + - '.github/workflows/functions-v2-ocr-app.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/ocr/app/**' - - '.github/workflows/functions-v2-ocr-app.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/ocr/app/**' - - '.github/workflows/functions-v2-ocr-app.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/ocr/app/**' + - '.github/workflows/functions-v2-ocr-app.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-tips-avoidInfiniteRetries.yaml b/.github/workflows/functions-v2-tips-avoidInfiniteRetries.yaml index b207097ca9..5857cf3dd8 100644 --- a/.github/workflows/functions-v2-tips-avoidInfiniteRetries.yaml +++ b/.github/workflows/functions-v2-tips-avoidInfiniteRetries.yaml @@ -16,24 +16,23 @@ name: functions-v2-tips-avoidInfiniteRetries on: push: branches: - - main + - main paths: - - 'functions/v2/tips/avoidInfiniteRetries/**' - - '.github/workflows/functions-v2-tips-avoidInfiniteRetries.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/tips/avoidInfiniteRetries/**' + - '.github/workflows/functions-v2-tips-avoidInfiniteRetries.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/tips/avoidInfiniteRetries/**' - - '.github/workflows/functions-v2-tips-avoidInfiniteRetries.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/tips/avoidInfiniteRetries/**' - - '.github/workflows/functions-v2-tips-avoidInfiniteRetries.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/tips/avoidInfiniteRetries/**' + - '.github/workflows/functions-v2-tips-avoidInfiniteRetries.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-tips-retry.yaml b/.github/workflows/functions-v2-tips-retry.yaml index ac6d674b09..10a328e32b 100644 --- a/.github/workflows/functions-v2-tips-retry.yaml +++ b/.github/workflows/functions-v2-tips-retry.yaml @@ -16,24 +16,23 @@ name: functions-v2-tips-retry on: push: branches: - - main + - main paths: - - 'functions/v2/tips/retry/**' - - '.github/workflows/functions-v2-tips-retry.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/tips/retry/**' + - '.github/workflows/functions-v2-tips-retry.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/tips/retry/**' - - '.github/workflows/functions-v2-tips-retry.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/tips/retry/**' - - '.github/workflows/functions-v2-tips-retry.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/tips/retry/**' + - '.github/workflows/functions-v2-tips-retry.yaml' + - '.github/workflows/test.yaml' schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * 0' jobs: test: permissions: diff --git a/.github/workflows/functions-v2-typed-googlechatbot.yaml b/.github/workflows/functions-v2-typed-googlechatbot.yaml index 39f2febe98..3267c5f114 100644 --- a/.github/workflows/functions-v2-typed-googlechatbot.yaml +++ b/.github/workflows/functions-v2-typed-googlechatbot.yaml @@ -16,24 +16,23 @@ name: functions-v2-typed-googlechatbot on: push: branches: - - main + - main paths: - - 'functions/v2/typed/googlechatbot/**' - - '.github/workflows/functions-v2-typed-googlechatbot.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/typed/googlechatbot/**' + - '.github/workflows/functions-v2-typed-googlechatbot.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/typed/googlechatbot/**' - - '.github/workflows/functions-v2-typed-googlechatbot.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/typed/googlechatbot/**' - - '.github/workflows/functions-v2-typed-googlechatbot.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/typed/googlechatbot/**' + - '.github/workflows/functions-v2-typed-googlechatbot.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 diff --git a/.github/workflows/functions-v2-typed-greeting.yaml b/.github/workflows/functions-v2-typed-greeting.yaml index be6a244ae8..de878ae607 100644 --- a/.github/workflows/functions-v2-typed-greeting.yaml +++ b/.github/workflows/functions-v2-typed-greeting.yaml @@ -16,24 +16,23 @@ name: functions-v2-typed-greeting on: push: branches: - - main + - main paths: - - 'functions/v2/typed/greeting/**' - - '.github/workflows/functions-v2-typed-greeting.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/typed/greeting/**' + - '.github/workflows/functions-v2-typed-greeting.yaml' + - '.github/workflows/test.yaml' pull_request: + types: + - opened + - reopened + - synchronize + - labeled paths: - - 'functions/v2/typed/greeting/**' - - '.github/workflows/functions-v2-typed-greeting.yaml' - - '.github/workflows/test.yaml' - pull_request_target: - types: [labeled] - paths: - - 'functions/v2/typed/greeting/**' - - '.github/workflows/functions-v2-typed-greeting.yaml' - - '.github/workflows/test.yaml' + - 'functions/v2/typed/greeting/**' + - '.github/workflows/functions-v2-typed-greeting.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