You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automation / Label Merged PR Release Target hard-fails on schedule when repo has no release tags (e.g. fresh fork) #9533
The Automation / Label Merged PR Release Target workflow (label-merged-pr-release-target.yaml) hard-fails on its scheduled runs (17 */6 * * *) whenever the repo has no strict semver release tags yet.
Error:
Error: No strict semver release tags were found
at loadReleaseTags ...
##[error]Unhandled error: Error: No strict semver release tags were found
Repro: run the workflow on any fork/checkout of the repo that has zero vX.Y.Z tags (no releases published yet). It fails 100% of the time on the schedule path; only the pull_request_target path survives because it short-circuits before the empty list is fatal.
Impact: repeated red CI on forks and any pre-first-release repo. Observed 5 consecutive scheduled failures in a single day on a fork.
Suggested fix: in the schedule/reconcile path, treat an empty release-tag list as "nothing to reconcile" — log an info message and exit 0 — instead of throwing. loadReleaseTags() can return [] and reconcileReleaseTargets can no-op on it, mirroring the existing graceful no-target handling in the PR path.
Activity
ci: tolerate missing release tags (NVIDIA#9605)