From 51ef0781de729afe51ca2b9c4fdd104176a42e6f Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Fri, 23 May 2025 01:52:07 -0600 Subject: [PATCH] fix: implement `${{ inputs.repo }}` with `--repoUrl` --- action.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/action.yaml b/action.yaml index 9310be3..7ae2951 100644 --- a/action.yaml +++ b/action.yaml @@ -24,6 +24,10 @@ inputs: description: "Helm repo to fetch the chart from (default: https://hyperweb-io.github.io/starship)" required: false default: "https://hyperweb-io.github.io/starship" + name: + description: "Helm chart release name for installing helm chart" + required: false + default: "starship" namespace: description: "Kubernetes namespace to deploy helm charts on (default: ci-{github.repository}-{github.workflow}-{github.ref} )" required: false @@ -130,6 +134,7 @@ runs: starship setup \ --config ${{ inputs.config }} \ --namespace ${{ steps.set-namespace.outputs.namespace }} \ + --repoUrl ${{ inputs.repo }} \ --chart ${{ inputs.chart }} shell: bash @@ -141,7 +146,9 @@ runs: sleep 5 starship start \ --config ${{ inputs.config }} \ + --name ${{ inputs.name }} \ --namespace ${{ steps.set-namespace.outputs.namespace }} \ + --repoUrl ${{ inputs.repo }} \ --chart ${{ inputs.chart }} \ --timeout ${{ inputs.timeout }} shell: bash @@ -174,6 +181,7 @@ runs: --config ${{ inputs.config }} \ --name ${{ inputs.name }} \ --namespace ${{ steps.set-namespace.outputs.namespace }} \ + --repoUrl ${{ inputs.repo }} \ --chart ${{ inputs.chart }} \ --timeout ${{ inputs.timeout }} shell: bash @@ -189,6 +197,7 @@ runs: --config ${{ inputs.config }} \ --name ${{ inputs.name }} \ --namespace ${{ steps.set-namespace.outputs.namespace }} \ + --repoUrl ${{ inputs.repo }} \ --chart ${{ inputs.chart }} \ --timeout ${{ inputs.timeout }} shell: bash