diff --git a/.github/workflows/chart-lint.yml b/.github/workflows/chart-lint.yml index c898ba393..471bdce2c 100644 --- a/.github/workflows/chart-lint.yml +++ b/.github/workflows/chart-lint.yml @@ -21,9 +21,16 @@ name: Lint and Test Charts # Run chart linting and tests on each pull request on: - pull_request: - paths: - - 'charts/**' + workflow_dispatch: + inputs: + force: + default: false + type: boolean + description: Force to run the pipeline, even without real changes + required: false + pull_request: + paths: + - 'charts/**' jobs: chart-lint: @@ -78,10 +85,10 @@ jobs: # Preparing a kind cluster to install and test charts on - name: Create kind cluster uses: helm/kind-action@v1.7.0 - if: steps.list-changed.outputs.changed == 'true' + if: steps.list-changed.outputs.changed == 'true' || ${{ inputs.force }} # install the chart to the kind cluster and run helm test # define charts to test with the --charts parameter - name: Run chart-testing (install) run: ct install --charts charts/managed-identity-wallet --config charts/chart-testing-config.yaml - if: steps.list-changed.outputs.changed == 'true' + if: steps.list-changed.outputs.changed == 'true' || ${{ inputs.force }}