Skip to content

Commit 16b420a

Browse files
chore(deps): pin dependencies (#3802)
Co-authored-by: Tony Pujals <[email protected]>
1 parent 4b58b83 commit 16b420a

11 files changed

+57
-57
lines changed

.github/workflows/ai-platform-snippets.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -40,29 +40,29 @@ jobs:
4040
contents: 'read'
4141
id-token: 'write'
4242
steps:
43-
- uses: actions/[email protected]
43+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
4444
with:
4545
ref: ${{github.event.pull_request.head.sha}}
46-
- uses: 'google-github-actions/[email protected]'
46+
- uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3
4747
with:
4848
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4949
service_account: '[email protected]'
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@v2'
53+
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
5454
with:
5555
secrets: |-
5656
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
5757
location:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-location
58-
- uses: actions/[email protected]
58+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
5959
with:
6060
node-version: 16
6161
- name: Get npm cache directory
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@v4
65+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
6666
id: npm-cache
6767
with:
6868
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -82,7 +82,7 @@ jobs:
8282
CAIP_PROJECT_ID: ${{ steps.secrets.outputs.caip_id }}
8383
- name: upload test results for FlakyBot workflow
8484
if: github.event.action == 'schedule' && always()
85-
uses: actions/upload-artifact@v3
85+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
8686
env:
8787
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8888
with:

.github/workflows/ci.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
id-token: 'write'
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/[email protected]
29-
- uses: actions/setup-node@v4
28+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
29+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
3030
with:
3131
node-version: 18
3232
- run: npm install
@@ -37,5 +37,5 @@ jobs:
3737
id-token: 'write'
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/[email protected]
40+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
4141
- run: ./.github/workflows/utils/region-tags-tests.sh

.github/workflows/dialogflow-cx.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -40,29 +40,29 @@ jobs:
4040
runs-on: ubuntu-latest
4141
timeout-minutes: 120
4242
steps:
43-
- uses: actions/[email protected]
43+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
4444
with:
4545
ref: ${{github.event.pull_request.head.sha}}
46-
- uses: 'google-github-actions/[email protected]'
46+
- uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3
4747
with:
4848
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4949
service_account: '[email protected]'
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@v2'
53+
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
5454
with:
5555
secrets: |-
5656
agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id
5757
test_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-test-id
58-
- uses: actions/[email protected]
58+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
5959
with:
6060
node-version: 16
6161
- name: Get npm cache directory
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@v4
65+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
6666
id: npm-cache
6767
with:
6868
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -84,7 +84,7 @@ jobs:
8484
AGENT_PROJECT_ID: nodejs-docs-samples-tests
8585
- name: upload test results for FlakyBot workflow
8686
if: github.event.action == 'schedule' && always()
87-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
8888
env:
8989
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9090
with:

.github/workflows/flakybot.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ jobs:
2929
id-token: 'write'
3030
steps:
3131
- name: authenticate
32-
uses: 'google-github-actions/auth@v2'
32+
uses: 'google-github-actions/auth@62cf5bd3e4211a0a0b51f2c6d6a37129d828611d' # v2
3333
with:
3434
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
3535
service_account: '[email protected]'
3636
create_credentials_file: 'true'
3737
access_token_lifetime: 600s
3838
- name: download test results
39-
uses: actions/download-artifact@v4
39+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
4040
with:
4141
name: test-results
4242
- name: download FlakyBot
4343
run: |
4444
curl -s -L https://github.com/googleapis/repo-automation-bots/archive/refs/tags/flakybot-v${{ env.FLAKYBOT_VERSION }}.tar.gz -o flakybot.tar.gz
4545
tar xzf flakybot.tar.gz
4646
cp -rT repo-automation-bots-flakybot-v${{ env.FLAKYBOT_VERSION}}/packages/flakybot/ .
47-
- uses: actions/setup-go@v5
47+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
4848
with:
4949
cache: true
5050
cache-dependency-path: '${{ github.workspace }}/go.sum'

.github/workflows/functions-slack.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -40,29 +40,29 @@ jobs:
4040
runs-on: ubuntu-latest
4141
timeout-minutes: 120
4242
steps:
43-
- uses: actions/[email protected]
43+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
4444
with:
4545
ref: ${{github.event.pull_request.head.sha}}
46-
- uses: 'google-github-actions/[email protected]'
46+
- uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3
4747
with:
4848
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4949
service_account: '[email protected]'
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@v2'
53+
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
5454
with:
5555
secrets: |-
5656
slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret
5757
kg_api_key:nodejs-docs-samples-tests/nodejs-docs-samples-kg-api-key
58-
- uses: actions/[email protected]
58+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
5959
with:
6060
node-version: 16
6161
- name: Get npm cache directory
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@v4
65+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
6666
id: npm-cache
6767
with:
6868
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -83,7 +83,7 @@ jobs:
8383
KG_API_KEY: ${{ steps.secrets.outputs.kg_api_key }}
8484
- name: upload test results for FlakyBot workflow
8585
if: github.event.action == 'schedule' && always()
86-
uses: actions/upload-artifact@v3
86+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
8787
env:
8888
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8989
with:

.github/workflows/generative-ai-snippets.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,30 @@ jobs:
4343
run:
4444
working-directory: 'generative-ai/snippets'
4545
steps:
46-
- uses: actions/[email protected]
46+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/[email protected]'
49+
- uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@v2'
56+
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
5757
with:
5858
secrets: |-
5959
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
6060
location:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-location
6161
datastore_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-datastore-id
62-
- uses: actions/[email protected]
62+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
6363
with:
6464
node-version: 18
6565
- name: Get npm cache directory
6666
id: npm-cache-dir
6767
shell: bash
6868
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
69-
- uses: actions/cache@v4
69+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
7070
id: npm-cache
7171
with:
7272
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -92,7 +92,7 @@ jobs:
9292
DATASTORE_ID: ${{ steps.secrets.outputs.datastore_id }}
9393
- name: upload test results for FlakyBot workflow
9494
if: github.event.action == 'schedule' && always()
95-
uses: actions/upload-artifact@v3
95+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
9696
env:
9797
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9898
with:

.github/workflows/iam-deny.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,23 @@ jobs:
4444
run:
4545
working-directory: 'iam/deny'
4646
steps:
47-
- uses: actions/[email protected]
47+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
4848
with:
4949
ref: ${{github.event.pull_request.head.sha}}
50-
- uses: 'google-github-actions/[email protected]'
50+
- uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3
5151
with:
5252
workload_identity_provider: 'projects/949737848314/locations/global/workloadIdentityPools/iam-deny-test-pool/providers/iam-deny-test-provider'
5353
service_account: '[email protected]'
5454
create_credentials_file: 'true'
5555
access_token_lifetime: 600s
56-
- uses: actions/[email protected]
56+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
5757
with:
5858
node-version: 16
5959
- name: Get npm cache directory
6060
id: npm-cache-dir
6161
shell: bash
6262
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
63-
- uses: actions/cache@v4
63+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
6464
id: npm-cache
6565
with:
6666
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -81,7 +81,7 @@ jobs:
8181
- run: npm test
8282
- name: upload test results for FlakyBot workflow
8383
if: github.event.action == 'schedule' && always()
84-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
8585
env:
8686
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8787
with:

.github/workflows/security-center-snippets.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,23 @@ jobs:
4444
run:
4545
working-directory: 'security-center/snippets'
4646
steps:
47-
- uses: actions/[email protected]
47+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
4848
with:
4949
ref: ${{github.event.pull_request.head.sha}}
50-
- uses: 'google-github-actions/[email protected]'
50+
- uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3
5151
with:
5252
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5353
service_account: '[email protected]'
5454
create_credentials_file: 'true'
5555
access_token_lifetime: 600s
56-
- uses: actions/[email protected]
56+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
5757
with:
5858
node-version: 20
5959
- name: Get npm cache directory
6060
id: npm-cache-dir
6161
shell: bash
6262
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
63-
- uses: actions/cache@v4
63+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
6464
id: npm-cache
6565
with:
6666
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -85,7 +85,7 @@ jobs:
8585
GOOGLE_SAMPLES_PROJECT: "long-door-651"
8686
- name: upload test results for FlakyBot workflow
8787
if: github.event.action == 'schedule' && always()
88-
uses: actions/upload-artifact@v3
88+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
8989
env:
9090
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9191
with:

.github/workflows/storagetransfer.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -43,29 +43,29 @@ jobs:
4343
run:
4444
working-directory: 'storagetransfer'
4545
steps:
46-
- uses: actions/[email protected]
46+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/[email protected]'
49+
- uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@v2'
56+
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
5757
with:
5858
secrets: |-
5959
sts_aws_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-aws
6060
sts_azure_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-azure
61-
- uses: actions/[email protected]
61+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
6262
with:
6363
node-version: 16
6464
- name: Get npm cache directory
6565
id: npm-cache-dir
6666
shell: bash
6767
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
68-
- uses: actions/cache@v4
68+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
6969
id: npm-cache
7070
with:
7171
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -92,7 +92,7 @@ jobs:
9292
AZURE_SAS_TOKEN: ${{ fromJSON(steps.secrets.outputs.sts_azure_secret).SAS }}
9393
- name: upload test results for FlakyBot workflow
9494
if: github.event.action == 'schedule' && always()
95-
uses: actions/upload-artifact@v3
95+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
9696
env:
9797
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9898
with:

.github/workflows/test.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ jobs:
3131
contents: 'read'
3232
id-token: 'write'
3333
steps:
34-
- uses: actions/[email protected]
34+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
3535
with:
3636
ref: ${{github.event.pull_request.head.sha}}
37-
- uses: 'google-github-actions/[email protected]'
37+
- uses: 'google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa' # v2.1.3
3838
with:
3939
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4040
service_account: '[email protected]'
4141
create_credentials_file: 'true'
4242
access_token_lifetime: 600s
43-
- uses: actions/[email protected]
43+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
4444
with:
4545
node-version: 16
4646
- name: Get npm cache directory
4747
id: npm-cache-dir
4848
shell: bash
4949
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
50-
- uses: actions/cache@v4
50+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
5151
id: npm-cache
5252
with:
5353
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -67,7 +67,7 @@ jobs:
6767
GOOGLE_SAMPLES_PROJECT: "long-door-651"
6868
- name: upload test results for FlakyBot workflow
6969
if: github.event.action == 'schedule' && always()
70-
uses: actions/upload-artifact@v3
70+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
7171
with:
7272
name: test-results
7373
path: ${{ inputs.path }}/${{ env.MOCHA_REPORTER_OUTPUT }}

0 commit comments

Comments
 (0)