From db7e43fbe090a332689a5f1ec162303dbfa44135 Mon Sep 17 00:00:00 2001 From: Raul Del Pozo Moreno Date: Fri, 17 May 2024 15:20:11 +0200 Subject: [PATCH] Add ID input to workflows (#179) --- .../build_wazuh_dashboard_with_plugins.yml | 40 ++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wazuh_dashboard_with_plugins.yml b/.github/workflows/build_wazuh_dashboard_with_plugins.yml index 123df69c1ba9..384a56908069 100644 --- a/.github/workflows/build_wazuh_dashboard_with_plugins.yml +++ b/.github/workflows/build_wazuh_dashboard_with_plugins.yml @@ -1,4 +1,4 @@ -name: Build packages +run-name: Build packages ${{ inputs.id }} on: workflow_dispatch: @@ -44,6 +44,44 @@ on: description: 'Generate package checksum' required: true default: false + id: + description: "ID used to identify the workflow uniquely." + type: string + required: false + + workflow_call: + inputs: + system: + type: string + required: true + default: 'deb' + architecture: + type: string + required: true + default: amd64 + revision: + type: string + required: true + default: '0' + reference_security_plugins: + type: string + required: true + default: 'master' + reference_wazuh_plugins: + type: string + required: true + default: 'master' + is_stage: + type: boolean + required: true + default: false + checksum: + type: boolean + required: true + default: false + id: + type: string + required: false jobs: validate-inputs: