Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/actionlint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
paths:
'**/*.yml':
ignore:
# https://github.com/rhysd/actionlint/issues/559
- 'invalid runner name "node24"'

'.github/workflows/integration.yml':
ignore:
- 'property ".+" is not defined in object type'
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: 'npm build'
run: 'npm ci && npm run build'

- uses: 'google-github-actions/auth@v2' # ratchet:exclude
- uses: 'google-github-actions/auth@v3' # ratchet:exclude
with:
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:

steps:
- id: 'auth'
uses: 'google-github-actions/auth@v2'
uses: 'google-github-actions/auth@v3'
with:
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
service_account: 'my-service-account@my-project.iam.gserviceaccount.com'

- id: 'secrets'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
uses: 'google-github-actions/get-secretmanager-secrets@v3'
with:
secrets: |-
token:my-project/docker-registry-token
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
job_id:
steps:
- id: 'secrets'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
uses: 'google-github-actions/get-secretmanager-secrets@v3'
with:
secrets: |-
token:my-project/docker-registry-token
Expand Down Expand Up @@ -162,13 +162,13 @@ jobs:
- uses: 'actions/checkout@v4'

- id: 'auth'
uses: 'google-github-actions/auth@v2'
uses: 'google-github-actions/auth@v3'
with:
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
service_account: 'my-service-account@my-project.iam.gserviceaccount.com'

- id: 'secrets'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
uses: 'google-github-actions/get-secretmanager-secrets@v3'
```

### Via Application Default Credentials
Expand All @@ -183,7 +183,7 @@ jobs:
job_id:
steps:
- id: 'secrets'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
uses: 'google-github-actions/get-secretmanager-secrets@v3'
```

The action will automatically detect and use the Application Default
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ outputs:
job_id:
steps:
- id: 'secrets'
uses: 'google-github-actions/get-secretmanager-secrets@v2'
uses: 'google-github-actions/get-secretmanager-secrets@v3'
with:
secrets: |-
token:my-project/docker-registry-token
Expand All @@ -113,5 +113,5 @@ branding:
color: 'blue'

runs:
using: 'node20'
using: 'node24'
main: 'dist/main/index.js'
21 changes: 0 additions & 21 deletions bin/runTests.sh

This file was deleted.

14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"docs": "./node_modules/.bin/actions-gen-readme",
"lint": "eslint .",
"format": "eslint . --fix",
"test": "bash ./bin/runTests.sh"
"test": "node --require ts-node/register --test-reporter spec --test tests/**/*.test.ts"
},
"engines": {
"node": ">= 20.x",
"node": ">= 24.x",
"npm": ">= 11.x"
},
"repository": {
Expand All @@ -29,7 +29,7 @@
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/http-client": "^2.2.3",
"@google-github-actions/actions-utils": "^0.8.10",
"@google-github-actions/actions-utils": "^1.0.1",
"google-auth-library": "^10.1.0"
},
"devDependencies": {
Expand Down
Loading