From 16b420a8bb6b92f31025c9b1693040ef51b1e234 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 22 Aug 2024 20:54:02 +0200 Subject: [PATCH] chore(deps): pin dependencies (#3802) Co-authored-by: Tony Pujals --- .github/workflows/ai-platform-snippets.yaml | 12 ++++++------ .github/workflows/ci.yaml | 6 +++--- .github/workflows/dialogflow-cx.yaml | 12 ++++++------ .github/workflows/flakybot.yaml | 6 +++--- .github/workflows/functions-slack.yaml | 12 ++++++------ .github/workflows/generative-ai-snippets.yaml | 12 ++++++------ .github/workflows/iam-deny.yaml | 10 +++++----- .github/workflows/security-center-snippets.yaml | 10 +++++----- .github/workflows/storagetransfer.yaml | 12 ++++++------ .github/workflows/test.yaml | 10 +++++----- .github/workflows/vision.yaml | 12 ++++++------ 11 files changed, 57 insertions(+), 57 deletions(-) diff --git a/.github/workflows/ai-platform-snippets.yaml b/.github/workflows/ai-platform-snippets.yaml index 1ae1b7b481..7296f790ea 100644 --- a/.github/workflows/ai-platform-snippets.yaml +++ b/.github/workflows/ai-platform-snippets.yaml @@ -40,29 +40,29 @@ jobs: contents: 'read' id-token: 'write' steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v2.1.3' + - uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3 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@v2' + uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 with: secrets: |- caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id location:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-location - - uses: actions/setup-node@v4.0.0 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # 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@v4 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -82,7 +82,7 @@ jobs: CAIP_PROJECT_ID: ${{ steps.secrets.outputs.caip_id }} - name: upload test results for FlakyBot workflow if: github.event.action == 'schedule' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d411f07b60..cc67695989 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,8 +25,8 @@ jobs: id-token: 'write' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 - - uses: actions/setup-node@v4 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 with: node-version: 18 - run: npm install @@ -37,5 +37,5 @@ jobs: id-token: 'write' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - run: ./.github/workflows/utils/region-tags-tests.sh diff --git a/.github/workflows/dialogflow-cx.yaml b/.github/workflows/dialogflow-cx.yaml index da7a5bcc3e..c0a6dbe3e2 100644 --- a/.github/workflows/dialogflow-cx.yaml +++ b/.github/workflows/dialogflow-cx.yaml @@ -40,29 +40,29 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 120 steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v2.1.3' + - uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3 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@v2' + uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 with: secrets: |- agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id test_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-test-id - - uses: actions/setup-node@v4.0.0 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # 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@v4 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -84,7 +84,7 @@ jobs: AGENT_PROJECT_ID: nodejs-docs-samples-tests - name: upload test results for FlakyBot workflow if: github.event.action == 'schedule' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: diff --git a/.github/workflows/flakybot.yaml b/.github/workflows/flakybot.yaml index fc74a81477..ee25e21394 100644 --- a/.github/workflows/flakybot.yaml +++ b/.github/workflows/flakybot.yaml @@ -29,14 +29,14 @@ jobs: id-token: 'write' steps: - name: authenticate - uses: 'google-github-actions/auth@v2' + uses: 'google-github-actions/auth@62cf5bd3e4211a0a0b51f2c6d6a37129d828611d' # v2 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 - name: download test results - uses: actions/download-artifact@v4 + uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 with: name: test-results - name: download FlakyBot @@ -44,7 +44,7 @@ jobs: curl -s -L https://github.com/googleapis/repo-automation-bots/archive/refs/tags/flakybot-v${{ env.FLAKYBOT_VERSION }}.tar.gz -o flakybot.tar.gz tar xzf flakybot.tar.gz cp -rT repo-automation-bots-flakybot-v${{ env.FLAKYBOT_VERSION}}/packages/flakybot/ . - - uses: actions/setup-go@v5 + - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5 with: cache: true cache-dependency-path: '${{ github.workspace }}/go.sum' diff --git a/.github/workflows/functions-slack.yaml b/.github/workflows/functions-slack.yaml index c8d2b44f98..ffd96e8695 100644 --- a/.github/workflows/functions-slack.yaml +++ b/.github/workflows/functions-slack.yaml @@ -40,29 +40,29 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 120 steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v2.1.3' + - uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3 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@v2' + uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 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 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # 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@v4 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -83,7 +83,7 @@ jobs: 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 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: diff --git a/.github/workflows/generative-ai-snippets.yaml b/.github/workflows/generative-ai-snippets.yaml index c11f3bb914..8e2f6f5087 100644 --- a/.github/workflows/generative-ai-snippets.yaml +++ b/.github/workflows/generative-ai-snippets.yaml @@ -43,30 +43,30 @@ jobs: run: working-directory: 'generative-ai/snippets' steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v2.1.3' + - uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3 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@v2' + uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 with: secrets: |- caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id location:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-location datastore_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-datastore-id - - uses: actions/setup-node@v4.0.0 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 with: node-version: 18 - name: Get npm cache directory id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v4 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -92,7 +92,7 @@ jobs: DATASTORE_ID: ${{ steps.secrets.outputs.datastore_id }} - name: upload test results for FlakyBot workflow if: github.event.action == 'schedule' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: diff --git a/.github/workflows/iam-deny.yaml b/.github/workflows/iam-deny.yaml index 4bb5afa15e..0b18697c39 100644 --- a/.github/workflows/iam-deny.yaml +++ b/.github/workflows/iam-deny.yaml @@ -44,23 +44,23 @@ jobs: run: working-directory: 'iam/deny' steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v2.1.3' + - uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3 with: workload_identity_provider: 'projects/949737848314/locations/global/workloadIdentityPools/iam-deny-test-pool/providers/iam-deny-test-provider' service_account: 'kokoro-ca@isakovf-iam-deny-samples.iam.gserviceaccount.com' create_credentials_file: 'true' access_token_lifetime: 600s - - uses: actions/setup-node@v4.0.0 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # 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@v4 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -81,7 +81,7 @@ jobs: - run: npm test - name: upload test results for FlakyBot workflow if: github.event.action == 'schedule' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: diff --git a/.github/workflows/security-center-snippets.yaml b/.github/workflows/security-center-snippets.yaml index ed8375bbdf..b07fb3e2a0 100644 --- a/.github/workflows/security-center-snippets.yaml +++ b/.github/workflows/security-center-snippets.yaml @@ -44,23 +44,23 @@ jobs: run: working-directory: 'security-center/snippets' steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v2.1.3' + - uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3 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 - - uses: actions/setup-node@v4.0.0 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 with: node-version: 20 - name: Get npm cache directory id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v4 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -85,7 +85,7 @@ jobs: GOOGLE_SAMPLES_PROJECT: "long-door-651" - name: upload test results for FlakyBot workflow if: github.event.action == 'schedule' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: diff --git a/.github/workflows/storagetransfer.yaml b/.github/workflows/storagetransfer.yaml index 558e8639ef..62205a9150 100644 --- a/.github/workflows/storagetransfer.yaml +++ b/.github/workflows/storagetransfer.yaml @@ -43,29 +43,29 @@ jobs: run: working-directory: 'storagetransfer' steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v2.1.3' + - uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3 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@v2' + uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 with: secrets: |- sts_aws_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-aws sts_azure_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-azure - - uses: actions/setup-node@v4.0.0 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # 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@v4 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -92,7 +92,7 @@ jobs: AZURE_SAS_TOKEN: ${{ fromJSON(steps.secrets.outputs.sts_azure_secret).SAS }} - name: upload test results for FlakyBot workflow if: github.event.action == 'schedule' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c0e8b82daa..03e2624fb5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -31,23 +31,23 @@ jobs: contents: 'read' id-token: 'write' steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v2.1.3' + - uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3 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 - - uses: actions/setup-node@v4.0.0 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # 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@v4 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -67,7 +67,7 @@ jobs: GOOGLE_SAMPLES_PROJECT: "long-door-651" - name: upload test results for FlakyBot workflow if: github.event.action == 'schedule' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 with: name: test-results path: ${{ inputs.path }}/${{ env.MOCHA_REPORTER_OUTPUT }} diff --git a/.github/workflows/vision.yaml b/.github/workflows/vision.yaml index e8419cccb3..09921bbf12 100644 --- a/.github/workflows/vision.yaml +++ b/.github/workflows/vision.yaml @@ -43,28 +43,28 @@ jobs: run: working-directory: 'vision' steps: - - uses: actions/checkout@v4.1.0 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: ref: ${{github.event.pull_request.head.sha}} - - uses: 'google-github-actions/auth@v2.1.3' + - uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3 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@v2' + uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 with: secrets: |- vision:nodejs-docs-samples-tests/nodejs-docs-samples-vision - - uses: actions/setup-node@v4.0.0 + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # 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@v4 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -87,7 +87,7 @@ jobs: REDIS_HOST: ${{ steps.secrets.outputs.vision.REDIS_HOST }} - name: upload test results for FlakyBot workflow if: github.event.action == 'schedule' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: