diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a58648212e3..5e6a8ffa902 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -588,7 +588,13 @@ jobs: - name: Run hassfest run: | . venv/bin/activate - python -m script.hassfest --requirements --action validate + + integration_params="" + if [[ "${{ needs.info.outputs.integrations_glob }}" != "" && "${{ needs.info.outputs.integrations_glob }}" != *","* ]]; then + integration_params=(--integration-path homeassistant/components/${{ needs.info.outputs.integrations_glob }}) + fi + + python -m script.hassfest --requirements --action validate ${integration_params} gen-requirements-all: name: Check all requirements