Update deps (#466)

This commit is contained in:
Seth Vargo 2025-02-01 13:49:34 +00:00 committed by GitHub
parent 332e0ba72f
commit 0cd8f2e4e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 365 additions and 413 deletions

View File

@ -1,17 +1,3 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: 'Draft release' name: 'Draft release'
on: on:
@ -29,10 +15,8 @@ on:
jobs: jobs:
draft-release: draft-release:
name: 'Draft release' uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v3' # ratchet:exclude
uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v0'
with: with:
version_strategy: '${{ github.event.inputs.version_strategy }}' version_strategy: '${{ github.event.inputs.version_strategy }}'
# 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
secrets: secrets:
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}' ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

View File

@ -16,10 +16,10 @@ jobs:
steps: steps:
- name: 'Checkout' - name: 'Checkout'
uses: 'actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' # ratchet:actions/checkout@v4 uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
- name: 'Publish' - name: 'Publish'
id: 'publish' id: 'publish'
uses: 'actions/publish-immutable-action@4b1aa5c1cde5fedc80d52746c9546cb5560e5f53' # ratchet:actions/publish-immutable-action@v0.0.3 uses: 'actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978' # ratchet:actions/publish-immutable-action@v0.0.4
with: with:
github-token: '${{ secrets.GITHUB_TOKEN }}' github-token: '${{ secrets.GITHUB_TOKEN }}'

View File

@ -1,17 +1,3 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: 'Release' name: 'Release'
on: on:
@ -22,10 +8,6 @@ on:
jobs: jobs:
release: release:
if: |- uses: 'google-github-actions/.github/.github/workflows/release.yml@v3' # ratchet:exclude
${{ startsWith(github.event.head_commit.message, 'Release: v') }}
name: 'Release'
uses: 'google-github-actions/.github/.github/workflows/release.yml@v1' # ratchet:exclude
# 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
secrets: secrets:
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}' ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

View File

@ -39,9 +39,9 @@ jobs:
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'
steps: steps:
- uses: 'actions/checkout@v4' - uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
- uses: 'actions/setup-node@v4' - uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
with: with:
node-version: '20.x' node-version: '20.x'
@ -74,9 +74,9 @@ jobs:
id-token: 'write' id-token: 'write'
steps: steps:
- uses: 'actions/checkout@v4' - uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
- uses: 'actions/setup-node@v4' - uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
with: with:
node-version: '20.x' node-version: '20.x'
@ -99,7 +99,7 @@ jobs:
--fail \ --fail \
--header "Authorization: Bearer ${{ steps.auth-default.outputs.auth_token }}" --header "Authorization: Bearer ${{ steps.auth-default.outputs.auth_token }}"
- uses: 'google-github-actions/setup-gcloud@v2' - uses: 'google-github-actions/setup-gcloud@main' # ratchet:exclude
with: with:
version: '>= 363.0.0' version: '>= 363.0.0'
@ -127,9 +127,9 @@ jobs:
id-token: 'write' id-token: 'write'
steps: steps:
- uses: 'actions/checkout@v4' - uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
- uses: 'actions/setup-node@v4' - uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
with: with:
node-version: '20.x' node-version: '20.x'
@ -143,7 +143,7 @@ jobs:
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}' workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}' service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
- uses: 'google-github-actions/setup-gcloud@v2' - uses: 'google-github-actions/setup-gcloud@main' # ratchet:exclude
with: with:
version: '>= 363.0.0' version: '>= 363.0.0'
@ -195,9 +195,9 @@ jobs:
- 'macos-latest' - 'macos-latest'
steps: steps:
- uses: 'actions/checkout@v4' - uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
- uses: 'actions/setup-node@v4' - uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
with: with:
node-version: '20.x' node-version: '20.x'
@ -210,7 +210,7 @@ jobs:
with: with:
credentials_json: '${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}' credentials_json: '${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}'
- uses: 'google-github-actions/setup-gcloud@v2' - uses: 'google-github-actions/setup-gcloud@main' # ratchet:exclude
with: with:
version: '>= 363.0.0' version: '>= 363.0.0'
@ -256,9 +256,9 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
steps: steps:
- uses: 'actions/checkout@v4' - uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
- uses: 'actions/setup-node@v4' - uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
with: with:
node-version: '20.x' node-version: '20.x'
@ -271,7 +271,7 @@ jobs:
credentials_json: '${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}' credentials_json: '${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}'
- name: 'docker' - name: 'docker'
uses: 'docker://alpine:3' uses: 'docker://index.docker.io/library/alpine@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099' # ratchet:docker://alpine:3
with: with:
entrypoint: '/bin/sh' entrypoint: '/bin/sh'
args: '-euc "test -n "${GOOGLE_APPLICATION_CREDENTIALS}" && test -r "${GOOGLE_APPLICATION_CREDENTIALS}"' args: '-euc "test -n "${GOOGLE_APPLICATION_CREDENTIALS}" && test -r "${GOOGLE_APPLICATION_CREDENTIALS}"'

View File

@ -27,7 +27,7 @@ jobs:
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-latest'
steps: steps:
- uses: 'actions/github-script@v7' - uses: 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea' # ratchet:actions/github-script@v7
with: with:
script: |- script: |-
const msg = const msg =

6
dist/main/index.js vendored

File diff suppressed because one or more lines are too long

6
dist/post/index.js vendored

File diff suppressed because one or more lines are too long

666
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,22 +23,22 @@
"author": "GoogleCloudPlatform", "author": "GoogleCloudPlatform",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@actions/core": "^1.10.1", "@actions/core": "^1.11.1",
"@actions/http-client": "^2.2.2", "@actions/http-client": "^2.2.3",
"@google-github-actions/actions-utils": "^0.8.3" "@google-github-actions/actions-utils": "^0.8.6"
}, },
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "^3.1.0", "@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.9.0", "@eslint/js": "^9.19.0",
"@types/node": "^22.4.1", "@types/node": "^22.13.0",
"@vercel/ncc": "^0.38.1", "@vercel/ncc": "^0.38.3",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.1", "eslint-plugin-prettier": "^5.2.3",
"eslint": "^9.9.0", "eslint": "^9.19.0",
"prettier": "^3.3.3", "prettier": "^3.4.2",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript-eslint": "^8.2.0", "typescript-eslint": "^8.22.0",
"@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/eslint-plugin": "^8.22.0",
"typescript": "^5.5.4" "typescript": "^5.7.3"
} }
} }