From fca3cfe1d4f26b0bf307380a62ac71f2446959da Mon Sep 17 00:00:00 2001 From: Saifur Rahman Mohsin Date: Sat, 12 Oct 2024 02:04:12 +0530 Subject: [PATCH] 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. --- action.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/action.yml b/action.yml index 3263808c..8e03bea9 100644 --- a/action.yml +++ b/action.yml @@ -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