Skip to content

Commit fd6faec

Browse files
committed
chore(deps): update github actions
1 parent 22a46bd commit fd6faec

12 files changed

+36
-36
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
53+
uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2
5454
with:
5555
secrets: |-
5656
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
@@ -62,7 +62,7 @@ jobs:
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
65+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4
85+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8686
env:
8787
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8888
with:

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
29-
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
29+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
3030
with:
3131
node-version: 18
3232
- run: npm install

.github/workflows/cloud-samples-tools-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
run:
3636
working-directory: .github/cloud-samples-tools
3737
steps:
38-
- uses: actions/checkout@v4
39-
- uses: actions/setup-go@v5
38+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
39+
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
4040
with:
4141
go-version: ${{ env.GO_VERSION }}
4242
- name: Go vet
@@ -52,8 +52,8 @@ jobs:
5252
run:
5353
working-directory: .github/cloud-samples-tools
5454
steps:
55-
- uses: actions/checkout@v4
56-
- uses: actions/setup-go@v5
55+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
56+
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
5757
with:
5858
go-version: ${{ env.GO_VERSION }}
5959
- name: Run tests

.github/workflows/dialogflow-cx.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
53+
uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2
5454
with:
5555
secrets: |-
5656
agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id
@@ -62,7 +62,7 @@ jobs:
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
65+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4
87+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8888
env:
8989
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9090
with:

.github/workflows/experimental.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
outputs:
3434
nodejs: ${{ steps.nodejs.outputs.packages }}
3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3737
with:
3838
fetch-depth: 0
39-
- uses: actions/setup-go@v5
39+
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
4040
with:
4141
go-version: ${{ env.GO_VERSION }}
4242
- run: go build -o ${{ github.workspace }}/tools ./cmd/...
@@ -52,8 +52,8 @@ jobs:
5252
runs-on: ubuntu-latest
5353
timeout-minutes: 5
5454
steps:
55-
- uses: actions/checkout@v4
56-
- uses: actions/setup-node@v4
55+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
56+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
5757
with:
5858
node-version: 20
5959
- run: make lint
@@ -70,13 +70,13 @@ jobs:
7070
matrix:
7171
package: ${{ fromJson(github.event_name == 'pull_request' && needs.affected.outputs.nodejs || '[]') }}
7272
steps:
73-
- uses: actions/checkout@v4
73+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
7474
with:
7575
ref: ${{ github.event.pull_request.head.sha }}
76-
- uses: actions/setup-node@v4
76+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
7777
with:
7878
node-version: 20
79-
- uses: google-github-actions/auth@v2
79+
- uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2
8080
with:
8181
project_id: long-door-651
8282
workload_identity_provider: projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider

.github/workflows/functions-slack.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
53+
uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2
5454
with:
5555
secrets: |-
5656
slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret
@@ -62,7 +62,7 @@ jobs:
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
65+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4
86+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8787
env:
8888
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8989
with:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
56+
uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2
5757
with:
5858
secrets: |-
5959
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
@@ -66,7 +66,7 @@ jobs:
6666
id: npm-cache-dir
6767
shell: bash
6868
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
69-
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
69+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4
95+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
9696
env:
9797
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9898
with:

.github/workflows/iam-deny.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
id: npm-cache-dir
6161
shell: bash
6262
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
63-
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
63+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4
84+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8585
env:
8686
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
8787
with:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
id: npm-cache-dir
6060
shell: bash
6161
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
62-
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
62+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
6363
id: npm-cache
6464
with:
6565
path: ${{ steps.npm-cache-dir.outputs.dir }}
@@ -84,7 +84,7 @@ jobs:
8484
GOOGLE_SAMPLES_PROJECT: "long-door-651"
8585
- name: upload test results for FlakyBot workflow
8686
if: github.event.action == 'schedule' && always()
87-
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
87+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8888
env:
8989
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9090
with:

.github/workflows/storagetransfer.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713' # v2
56+
uses: 'google-github-actions/get-secretmanager-secrets@e5bb06c2ca53b244f978d33348d18317a7f263ce' # v2
5757
with:
5858
secrets: |-
5959
sts_aws_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-aws
@@ -65,7 +65,7 @@ jobs:
6565
id: npm-cache-dir
6666
shell: bash
6767
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
68-
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
68+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # 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@604373da6381bf24206979c74d06a550515601b9 # v4
95+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
9696
env:
9797
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
9898
with:

0 commit comments

Comments
 (0)