From d4c7849cf492c41b8358a22172bda4fe623d0ab4 Mon Sep 17 00:00:00 2001 From: danswick <2365503+danswick@users.noreply.github.com> Date: Fri, 20 Oct 2023 14:00:19 -0700 Subject: [PATCH] add workflow call to e2e data generator --- .../end-to-end-test-data-generator.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/end-to-end-test-data-generator.yml b/.github/workflows/end-to-end-test-data-generator.yml index 93bdfee7c5..79cd8d6617 100644 --- a/.github/workflows/end-to-end-test-data-generator.yml +++ b/.github/workflows/end-to-end-test-data-generator.yml @@ -6,7 +6,7 @@ on: environment: required: true type: choice - description: Which environment should the workflow run on? + description: The environment the workflow should run on. options: - dev - staging @@ -18,6 +18,21 @@ on: required: false type: string description: Comma-separated list of report years. The list of years needs to be the same lenght as the list of dbkeys. + workflow_call: + inputs: + environment: + required: true + type: string + description: The environment the workflow should run on. + # dev, staging + dbkeys: + required: false + type: string + description: Comma-separated list of report-IDs. + years: + required: false + type: string + description: Comma-separated list of report years. The list of years needs to be the same lenght as the list of dbkeys. jobs: end-to-end-test-data: