CI Perf Lint

avoid-broad-upload-artifact

Detects actions/upload-artifact steps that upload very broad paths (., ./, *, or **) without an error-condition guard.

What it detects

Why it matters

Uploading the whole repository or a broad glob on every run wastes artifact storage and increases upload/download time. Broad uploads are usually only appropriate for collecting debug dumps after a failure.

Suggested action

Measurement

Compare artifact size and upload duration before and after narrowing the path or adding the guard.

Compatibility