diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a24827..1223b4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,25 @@ name: CI on: workflow_dispatch: + inputs: + ref-template: + description: 'Branch or tag ref to check out for template' + type: string + required: false + ref-zenml: + description: 'Branch or tag ref to check out for ZenML' + type: string + required: false workflow_call: + inputs: + ref-template: + description: 'Branch or tag ref to check out for template' + type: string + required: false + ref-zenml: + description: 'Branch or tag ref to check out for ZenML' + type: string + required: false push: branches: ["main", "develop"] paths-ignore: ["README.md"] @@ -38,4 +56,6 @@ jobs: with: stack-name: ${{ matrix.stack-name }} python-version: ${{ matrix.python-version }} - ref-zenml: feature/OSS-2529-passing-pipeline-parameters-as-yaml-and-document + ref-zenml: ${{ inputs.ref-zenml || 'feature/OSS-2529-passing-pipeline-parameters-as-yaml-and-document' }} + ref-template: ${{ inputs.ref-template || github.ref }} + \ No newline at end of file