The GitHub Actions job "Tests" on airflow.git/fix-registry-empty-logos-dir has 
failed.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
4aa57208fe097ed8c15cb486a9f72fb51958590c / Kaxil Naik <[email protected]>
Fix registry build failure when logos directory is empty

extract_metadata.py unconditionally creates dev/registry/logos/ even
when no logos are found (e.g. incremental build for a provider without
logos). The workflow's `if [ -d ... ]` check passes for the empty
directory, then `cp -r logos/*` fails because the glob doesn't expand.

Fix both sides:
- Workflow: check directory is non-empty before glob-based cp
- extract_metadata.py: create logo directories lazily, only when a
  logo is actually found

Report URL: https://github.com/apache/airflow/actions/runs/23172303346

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to