Skip to content

Commit 0cd8f2e

Browse files
authored
Update deps (#466)
1 parent 332e0ba commit 0cd8f2e

File tree

9 files changed

+365
-413
lines changed

9 files changed

+365
-413
lines changed

.github/workflows/draft-release.yml

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright 2023 Google LLC
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
name: 'Draft release'
162

173
on:
@@ -29,10 +15,8 @@ on:
2915

3016
jobs:
3117
draft-release:
32-
name: 'Draft release'
33-
uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v0'
18+
uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v3' # ratchet:exclude
3419
with:
3520
version_strategy: '${{ github.event.inputs.version_strategy }}'
36-
# secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow
3721
secrets:
3822
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: 'Checkout'
19-
uses: 'actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' # ratchet:actions/checkout@v4
19+
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
2020

2121
- name: 'Publish'
2222
id: 'publish'
23-
uses: 'actions/publish-immutable-action@4b1aa5c1cde5fedc80d52746c9546cb5560e5f53' # ratchet:actions/[email protected].3
23+
uses: 'actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978' # ratchet:actions/[email protected].4
2424
with:
2525
github-token: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/release.yml

+1-19
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright 2023 Google LLC
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
name: 'Release'
162

173
on:
@@ -22,10 +8,6 @@ on:
228

239
jobs:
2410
release:
25-
if: |-
26-
${{ startsWith(github.event.head_commit.message, 'Release: v') }}
27-
name: 'Release'
28-
uses: 'google-github-actions/.github/.github/workflows/release.yml@v1' # ratchet:exclude
29-
# secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows\#using-inputs-and-secrets-in-a-reusable-workflow
11+
uses: 'google-github-actions/.github/.github/workflows/release.yml@v3' # ratchet:exclude
3012
secrets:
3113
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

.github/workflows/test.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
runs-on: 'ubuntu-latest'
4040

4141
steps:
42-
- uses: 'actions/checkout@v4'
42+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
4343

44-
- uses: 'actions/setup-node@v4'
44+
- uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
4545
with:
4646
node-version: '20.x'
4747

@@ -74,9 +74,9 @@ jobs:
7474
id-token: 'write'
7575

7676
steps:
77-
- uses: 'actions/checkout@v4'
77+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
7878

79-
- uses: 'actions/setup-node@v4'
79+
- uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
8080
with:
8181
node-version: '20.x'
8282

@@ -99,7 +99,7 @@ jobs:
9999
--fail \
100100
--header "Authorization: Bearer ${{ steps.auth-default.outputs.auth_token }}"
101101
102-
- uses: 'google-github-actions/setup-gcloud@v2'
102+
- uses: 'google-github-actions/setup-gcloud@main' # ratchet:exclude
103103
with:
104104
version: '>= 363.0.0'
105105

@@ -127,9 +127,9 @@ jobs:
127127
id-token: 'write'
128128

129129
steps:
130-
- uses: 'actions/checkout@v4'
130+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
131131

132-
- uses: 'actions/setup-node@v4'
132+
- uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
133133
with:
134134
node-version: '20.x'
135135

@@ -143,7 +143,7 @@ jobs:
143143
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
144144
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
145145

146-
- uses: 'google-github-actions/setup-gcloud@v2'
146+
- uses: 'google-github-actions/setup-gcloud@main' # ratchet:exclude
147147
with:
148148
version: '>= 363.0.0'
149149

@@ -195,9 +195,9 @@ jobs:
195195
- 'macos-latest'
196196

197197
steps:
198-
- uses: 'actions/checkout@v4'
198+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
199199

200-
- uses: 'actions/setup-node@v4'
200+
- uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
201201
with:
202202
node-version: '20.x'
203203

@@ -210,7 +210,7 @@ jobs:
210210
with:
211211
credentials_json: '${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}'
212212

213-
- uses: 'google-github-actions/setup-gcloud@v2'
213+
- uses: 'google-github-actions/setup-gcloud@main' # ratchet:exclude
214214
with:
215215
version: '>= 363.0.0'
216216

@@ -256,9 +256,9 @@ jobs:
256256
strategy:
257257
fail-fast: false
258258
steps:
259-
- uses: 'actions/checkout@v4'
259+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
260260

261-
- uses: 'actions/setup-node@v4'
261+
- uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
262262
with:
263263
node-version: '20.x'
264264

@@ -271,7 +271,7 @@ jobs:
271271
credentials_json: '${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}'
272272

273273
- name: 'docker'
274-
uses: 'docker://alpine:3'
274+
uses: 'docker://index.docker.io/library/alpine@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099' # ratchet:docker://alpine:3
275275
with:
276276
entrypoint: '/bin/sh'
277277
args: '-euc "test -n "${GOOGLE_APPLICATION_CREDENTIALS}" && test -r "${GOOGLE_APPLICATION_CREDENTIALS}"'

.github/workflows/troubleshooting.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: 'ubuntu-latest'
2828

2929
steps:
30-
- uses: 'actions/github-script@v7'
30+
- uses: 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea' # ratchet:actions/github-script@v7
3131
with:
3232
script: |-
3333
const msg =

dist/main/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/post/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)