From ff6734f445472d15331ce3330fdfa8c811becefb Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 5 Dec 2024 22:18:04 +0000 Subject: [PATCH] chore(deps): update github actions --- .github/workflows/ai-platform-snippets.yaml | 6 +++--- .github/workflows/ci.yaml | 2 +- .github/workflows/cloud-samples-tools-test.yaml | 8 ++++---- .github/workflows/dialogflow-cx.yaml | 6 +++--- .github/workflows/experimental.yaml | 14 +++++++------- .github/workflows/functions-slack.yaml | 6 +++--- .github/workflows/generative-ai-snippets.yaml | 6 +++--- .github/workflows/iam-deny.yaml | 4 ++-- .github/workflows/security-center-snippets.yaml | 4 ++-- .github/workflows/storagetransfer.yaml | 6 +++--- .github/workflows/test.yaml | 4 ++-- .github/workflows/vision.yaml | 6 +++--- 12 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/ai-platform-snippets.yaml b/.github/workflows/ai-platform-snippets.yaml index 1334228b503..d63514a63db 100644 --- a/.github/workflows/ai-platform-snippets.yaml +++ b/.github/workflows/ai-platform-snippets.yaml @@ -50,7 +50,7 @@ jobs: create_credentials_file: 'true' access_token_lifetime: 600s - id: secrets - uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 + uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2 with: secrets: |- caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id @@ -62,7 +62,7 @@ jobs: id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 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 c916230d83e..6c1d42c6824 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4 + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 with: node-version: 18 - run: npm install diff --git a/.github/workflows/cloud-samples-tools-test.yaml b/.github/workflows/cloud-samples-tools-test.yaml index b6f9508c539..f6052ad5be3 100644 --- a/.github/workflows/cloud-samples-tools-test.yaml +++ b/.github/workflows/cloud-samples-tools-test.yaml @@ -35,8 +35,8 @@ jobs: run: working-directory: .github/cloud-samples-tools steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5 with: go-version: ${{ env.GO_VERSION }} - name: Go vet @@ -52,8 +52,8 @@ jobs: run: working-directory: .github/cloud-samples-tools steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5 with: go-version: ${{ env.GO_VERSION }} - name: Run tests diff --git a/.github/workflows/dialogflow-cx.yaml b/.github/workflows/dialogflow-cx.yaml index 716b9bc59d1..12751072c4c 100644 --- a/.github/workflows/dialogflow-cx.yaml +++ b/.github/workflows/dialogflow-cx.yaml @@ -50,7 +50,7 @@ jobs: create_credentials_file: 'true' access_token_lifetime: 600s - id: secrets - uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 + uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2 with: secrets: |- agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id @@ -62,7 +62,7 @@ jobs: id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: diff --git a/.github/workflows/experimental.yaml b/.github/workflows/experimental.yaml index 5484a904636..3217f18ff31 100644 --- a/.github/workflows/experimental.yaml +++ b/.github/workflows/experimental.yaml @@ -33,10 +33,10 @@ jobs: outputs: nodejs: ${{ steps.nodejs.outputs.packages }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: fetch-depth: 0 - - uses: actions/setup-go@v5 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5 with: go-version: ${{ env.GO_VERSION }} - run: go build -o ${{ github.workspace }}/tools ./cmd/... @@ -52,8 +52,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 with: node-version: 20 - run: make lint @@ -70,13 +70,13 @@ jobs: matrix: package: ${{ fromJson(github.event_name == 'pull_request' && needs.affected.outputs.nodejs || '[]') }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/setup-node@v4 + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 with: node-version: 20 - - uses: google-github-actions/auth@v2 + - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2 with: project_id: long-door-651 workload_identity_provider: projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider diff --git a/.github/workflows/functions-slack.yaml b/.github/workflows/functions-slack.yaml index 1e405a5b1e5..10057d7d3e2 100644 --- a/.github/workflows/functions-slack.yaml +++ b/.github/workflows/functions-slack.yaml @@ -50,7 +50,7 @@ jobs: create_credentials_file: 'true' access_token_lifetime: 600s - id: secrets - uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 + uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2 with: secrets: |- slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret @@ -62,7 +62,7 @@ jobs: id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 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 0fa2215f8be..97df65553ea 100644 --- a/.github/workflows/generative-ai-snippets.yaml +++ b/.github/workflows/generative-ai-snippets.yaml @@ -53,7 +53,7 @@ jobs: create_credentials_file: 'true' access_token_lifetime: 600s - id: secrets - uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 + uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2 with: secrets: |- caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id @@ -66,7 +66,7 @@ jobs: id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 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 2eb651f8034..07aa18e23d2 100644 --- a/.github/workflows/iam-deny.yaml +++ b/.github/workflows/iam-deny.yaml @@ -60,7 +60,7 @@ jobs: id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 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 b4aaa94ace7..49ff412b699 100644 --- a/.github/workflows/security-center-snippets.yaml +++ b/.github/workflows/security-center-snippets.yaml @@ -59,7 +59,7 @@ jobs: id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 id: npm-cache with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -84,7 +84,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@604373da6381bf24206979c74d06a550515601b9 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 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 f76307eb3d2..fa935ecec7b 100644 --- a/.github/workflows/storagetransfer.yaml +++ b/.github/workflows/storagetransfer.yaml @@ -53,7 +53,7 @@ jobs: create_credentials_file: 'true' access_token_lifetime: 600s - id: secrets - uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 + uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2 with: secrets: |- sts_aws_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-aws @@ -65,7 +65,7 @@ jobs: id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 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 f2acab7028c..ad05eabbacf 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -47,7 +47,7 @@ jobs: id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 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 97b49203070..015b85c364c 100644 --- a/.github/workflows/vision.yaml +++ b/.github/workflows/vision.yaml @@ -53,7 +53,7 @@ jobs: create_credentials_file: 'true' access_token_lifetime: 600s - id: secrets - uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2 + uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2 with: secrets: |- vision:nodejs-docs-samples-tests/nodejs-docs-samples-vision @@ -64,7 +64,7 @@ jobs: id: npm-cache-dir shell: bash run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 env: MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml" with: