From 8beb33aaa9e890c1d55ecbd44e4693772810e5a9 Mon Sep 17 00:00:00 2001 From: Paul Gaiduk Date: Wed, 7 Feb 2024 16:52:51 +0100 Subject: [PATCH] Add support for eden_version input in test workflow When the workflow is triggered from the outside, action/checkout defaults to checking out the latest master which is not always desired. For better compatibility with older EVE release the user should be able to specify the version of eden to be used in the test workflow. If no version is specified, the workflow should resert to the default behavior. Signed-off-by: Paul Gaiduk --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3311cd978..dfcf380c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,10 @@ on: # yamllint disable-line rule:truthy type: string workflow_call: inputs: + eden_version: + type: string + required: false + default: '' # if not provided: When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch. eve_image: type: string eve_artifact_name: