feat: Added optional inputs (workload_identity_provider, service_account, credentials_json)

Without these declared in action.yml, Github runners will keep throwing Unexpected input warning when the action is run.
This commit is contained in:
Saifur Rahman Mohsin 2024-10-12 02:04:12 +05:30
parent f0990588f1
commit fca3cfe1d4
No known key found for this signature in database
GPG key ID: FECCE86ABACD134B

View file

@ -57,6 +57,28 @@ inputs:
at other inputs and environment variables.
required: false
workload_identity_provider:
description: |-
The full identifier of the Workload Identity Provider, including the
project number, pool name, and provider name. If provided, this must be
the full identifier which includes all parts, for example:
"projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider".
This is mutually exclusive with "credentials_json".
required: false
service_account:
description: |-
Email address or unique identifier of the Google Cloud service account for
which to generate credentials. This is required if
"workload_identity_provider" is specified.
required: false
credentials_json:
description: |-
The Google Cloud JSON service account key to use for authentication. This
is mutually exclusive with "workload_identity_provider".
required: false
install_components:
description: |-
List of additional [gcloud