Skip to content

Commit

Permalink
Adjust default
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Jun 16, 2023
1 parent 022e13c commit a938e28
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/generate-hacs-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ on:
- "False"
- "True"
category:
description: 'Select a single category'
description: 'Select a category'
required: false
default: 'None'
type: choice
options:
- "None"
- appdaemon
- integration
- plugin
Expand All @@ -40,7 +38,7 @@ jobs:
steps:
- id: set-matrix
run: |
if [[ "${{ inputs.category }}" != "" ]] && [[ "${{ inputs.category }}" != "None" ]]; then
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]] && [[ "${{ inputs.category }}" != "" ]]; then
echo "::set-output name=categories::['${{ inputs.category }}']"
else
echo "::set-output name=categories::['appdaemon','integration','plugin','python_script','template','theme']"
Expand Down

0 comments on commit a938e28

Please sign in to comment.