diff --git a/.github/workflows/dmt-lint.yml b/.github/workflows/dmt-lint.yml index e2cfe4c8..6c7f254f 100644 --- a/.github/workflows/dmt-lint.yml +++ b/.github/workflows/dmt-lint.yml @@ -14,6 +14,12 @@ on: # the skip label is added or removed, without pushing a new commit. types: [ opened, synchronize, reopened, labeled, unlabeled ] workflow_dispatch: + inputs: + deckhouse_branch: + description: 'Deckhouse branch or tag to run dmt lint on' + required: false + default: 'main' + type: string permissions: contents: read @@ -26,7 +32,7 @@ concurrency: env: SKIP_LABEL: dmtlint-verify-skip DECKHOUSE_REPO: https://github.com/deckhouse/deckhouse.git - DECKHOUSE_REF: main + DECKHOUSE_REF: ${{ inputs.deckhouse_branch || 'main' }} jobs: dmt-lint-verify: