Skip to content

Commit 9b10f80

Browse files
authored
Update deps (#313)
1 parent 14f216d commit 9b10f80

File tree

8 files changed

+347
-331
lines changed

8 files changed

+347
-331
lines changed

.github/workflows/draft-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ on:
1515

1616
jobs:
1717
draft-release:
18-
name: 'Draft release'
19-
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
2019
with:
2120
version_strategy: '${{ github.event.inputs.version_strategy }}'
22-
# 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
2321
secrets:
2422
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

.github/workflows/integration.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -23,41 +23,41 @@ jobs:
2323
runs-on: 'ubuntu-latest'
2424

2525
steps:
26-
- uses: 'actions/checkout@v4'
27-
28-
- uses: 'actions/setup-node@v4'
29-
with:
30-
node-version: '20.x'
31-
32-
- name: 'npm build'
33-
run: 'npm ci && npm run build'
34-
35-
- uses: 'google-github-actions/auth@v2'
36-
with:
37-
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
38-
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
39-
40-
- id: 'secrets'
41-
name: 'secrets'
42-
uses: './'
43-
with:
44-
secrets: |-
45-
token:${{ vars.SECRET_NAME }}
46-
password:${{ vars.SECRET_VERSION_NAME }}
47-
regional:${{ vars.REGIONAL_SECRET_NAME }}
48-
49-
- name: 'outputs'
50-
run: echo '${{ steps.secrets.outputs.token }}${{ steps.secrets.outputs.password }}${{ steps.secrets.outputs.regional }}'
51-
52-
- id: 'secrets-encoded'
53-
name: 'secrets-encoded'
54-
uses: './'
55-
with:
56-
encoding: 'hex'
57-
secrets: |-
58-
token:${{ vars.SECRET_NAME }}
59-
password:${{ vars.SECRET_VERSION_NAME }}
60-
regional:${{ vars.REGIONAL_SECRET_NAME }}
61-
62-
- name: 'outputs-encoded'
63-
run: echo '${{ steps.secrets-encoded.outputs.token }}${{ steps.secrets-encoded.outputs.password }}${{ steps.secrets-encoded.outputs.regional }}'
26+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
27+
28+
- uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
29+
with:
30+
node-version: '20.x'
31+
32+
- name: 'npm build'
33+
run: 'npm ci && npm run build'
34+
35+
- uses: 'google-github-actions/auth@v2' # ratchet:exclude
36+
with:
37+
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
38+
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
39+
40+
- id: 'secrets'
41+
name: 'secrets'
42+
uses: './'
43+
with:
44+
secrets: |-
45+
token:${{ vars.SECRET_NAME }}
46+
password:${{ vars.SECRET_VERSION_NAME }}
47+
regional:${{ vars.REGIONAL_SECRET_NAME }}
48+
49+
- name: 'outputs'
50+
run: echo '${{ steps.secrets.outputs.token }}${{ steps.secrets.outputs.password }}${{ steps.secrets.outputs.regional }}'
51+
52+
- id: 'secrets-encoded'
53+
name: 'secrets-encoded'
54+
uses: './'
55+
with:
56+
encoding: 'hex'
57+
secrets: |-
58+
token:${{ vars.SECRET_NAME }}
59+
password:${{ vars.SECRET_VERSION_NAME }}
60+
regional:${{ vars.REGIONAL_SECRET_NAME }}
61+
62+
- name: 'outputs-encoded'
63+
run: echo '${{ steps.secrets-encoded.outputs.token }}${{ steps.secrets-encoded.outputs.password }}${{ steps.secrets-encoded.outputs.regional }}'

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ on:
88

99
jobs:
1010
release:
11-
if: |-
12-
${{ startsWith(github.event.head_commit.message, 'Release: v') }}
13-
name: 'Release'
14-
uses: 'google-github-actions/.github/.github/workflows/release.yml@v1' # ratchet:exclude
15-
# 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
1612
secrets:
1713
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

.github/workflows/unit.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,26 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os:
24-
- 'ubuntu-latest'
25-
- 'windows-latest'
26-
- 'macos-latest'
24+
- 'ubuntu-latest'
25+
- 'windows-latest'
26+
- 'macos-latest'
2727
runs-on: '${{ matrix.os }}'
2828

2929
steps:
30-
- uses: 'actions/checkout@v4'
30+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
3131

32-
- uses: 'actions/setup-node@v4'
33-
with:
34-
node-version: '20.x'
32+
- uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
33+
with:
34+
node-version: '20.x'
3535

36-
- name: 'npm build'
37-
run: 'npm ci && npm run build'
36+
- name: 'npm build'
37+
run: 'npm ci && npm run build'
3838

39-
- name: 'npm lint'
40-
# There's no need to run the linter for each operating system, since it
41-
# will find the same thing 3x and clog up the PR review.
42-
if: ${{ matrix.os == 'ubuntu-latest' }}
43-
run: 'npm run lint'
39+
- name: 'npm lint'
40+
# There's no need to run the linter for each operating system, since it
41+
# will find the same thing 3x and clog up the PR review.
42+
if: ${{ matrix.os == 'ubuntu-latest' }}
43+
run: 'npm run lint'
4444

45-
- name: 'npm test'
46-
run: 'npm run test'
45+
- name: 'npm test'
46+
run: 'npm run test'

dist/index.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)