From 547c70bf5854fc5b3194f387858e561d2acddcd3 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Fri, 20 Sep 2024 08:57:22 -0300 Subject: [PATCH] Add inputs requested --- .github/workflows/Puppet_module_builder.yml | 27 ++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Puppet_module_builder.yml b/.github/workflows/Puppet_module_builder.yml index 4d882572..f98f995a 100644 --- a/.github/workflows/Puppet_module_builder.yml +++ b/.github/workflows/Puppet_module_builder.yml @@ -1,4 +1,4 @@ -run-name: Build Wazuh Puppet module ${{ inputs.BRANCH_NAME }} - Launched by @${{ github.actor }} +run-name: Puppet module ${{ inputs.is_stage && ' - is stage' || '' }}${{ inputs.checksum && ' - checksum' || '' }} ${{ inputs.id }} name: Puppet Module Builder on: @@ -12,6 +12,31 @@ on: description: "Is stage ?" type: boolean default: false + checksum: + description: "Checksum ?" + type: boolean + default: false + id: + description: "ID used to identify the workflow uniquely." + type: string + required: false + workflow_call: + inputs: + upload: + description: "Upload ?" + type: boolean + default: false + is_stage: + description: "Is stage ?" + type: boolean + default: false + checksum: + description: "Checksum ?" + type: boolean + default: false + id: + type: string + required: false permissions: id-token: write # This is required for requesting the JWT