Summary
The Semver Label Enforcement workflow appears to continue running even when a pull request has no semver/* label. Instead of exiting early.
Expected Behavior
When a PR has no semver/* label, the workflow should:
- Detect that no matching label exists
- Log the “No semver label found” message
- Exit successfully
Actual Behavior
Even when no semver/* label is present:
- The workflow logs that no semver label was found
- But it does not exit
Steps to Reproduce
- Open a PR in a repo using the PR Monitoring Bot
- Ensure the PR has zero labels matching
semver/*
- Observe the workflow run for Semver Label Enforcement
- Notice that it logs the missing label but still continues and fails
Possible Cause
It looks like the step that checks for the label logs the absence but does not actually exit 0 or otherwise stop the job. The workflow may need an explicit if: guard or an early‑return mechanism.
