diff --git a/.github/workflows/ai-platform-snippets.yaml b/.github/workflows/ai-platform-snippets.yaml index 1334228b50..ecc2a2c985 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@0eee3cd066acdd9427a820bd68231cdea7c66a8d' # 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # 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 c916230d83..6c1d42c682 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/dialogflow-cx.yaml b/.github/workflows/dialogflow-cx.yaml index 716b9bc59d..6579e92166 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@0eee3cd066acdd9427a820bd68231cdea7c66a8d' # 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # 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/functions-slack.yaml b/.github/workflows/functions-slack.yaml index 1e405a5b1e..d80086c6bf 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@0eee3cd066acdd9427a820bd68231cdea7c66a8d' # 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # 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 0fa2215f8b..7935ae36af 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@0eee3cd066acdd9427a820bd68231cdea7c66a8d' # 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # 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 2eb651f803..fcabe5fe06 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # 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 b4aaa94ace..0576386b6a 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # 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 f76307eb3d..47c342aa5e 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@0eee3cd066acdd9427a820bd68231cdea7c66a8d' # 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # 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 f2acab7028..fb85fac805 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # 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 97b4920307..50375e6d78 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@0eee3cd066acdd9427a820bd68231cdea7c66a8d' # 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # 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: