Skip to content

Commit

Permalink
Add ID input to workflows (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
rauldpm authored and yenienserrano committed Oct 28, 2024
1 parent 7ac788d commit 9030f75
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion .github/workflows/build_wazuh_dashboard_with_plugins.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build packages
run-name: Build packages ${{ inputs.id }}

on:
workflow_dispatch:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 9030f75

Please sign in to comment.