[TT-16977] fix: trigger release workflow on PR labeled event #975
+1
−0
probelabs / Visor: performance
succeeded
Apr 17, 2026 in 22s
✅ Check Passed (Warnings Found)
performance check passed. Found 1 warning, but fail_if condition was not met.
Details
📊 Summary
- Total Issues: 1
- Warning Issues: 1
🔍 Failure Condition Results
Passed Conditions
- global_fail_if: Condition passed
Issues by Category
Performance (1)
⚠️ .github/workflows/release.yml:19 - The workflow triggerlabeledwill cause this workflow to run every time any label is added to a pull request. This can lead to excessive, unnecessary workflow executions, consuming CI/CD resources and potentially increasing queue times for other builds. The pull request description states the goal is to trigger for thedeps-reviewedlabel specifically.
Powered by Visor from Probelabs
💡 TIP: You can chat with Visor using /visor ask <your question>
Annotations
Check warning on line 19 in .github/workflows/release.yml
probelabs / Visor: performance
performance Issue
The workflow trigger `labeled` will cause this workflow to run every time any label is added to a pull request. This can lead to excessive, unnecessary workflow executions, consuming CI/CD resources and potentially increasing queue times for other builds. The pull request description states the goal is to trigger for the `deps-reviewed` label specifically.
Raw output
To prevent unnecessary runs, add a condition to the job(s) within this workflow to check if the added label is `deps-reviewed`. This ensures the workflow only proceeds when the specific, intended event occurs.
Example condition for a job:
```yaml
if: github.event.action != 'labeled' || github.event.label.name == 'deps-reviewed'
```
This condition allows the job to run for other pull request events (`opened`, `synchronize`, `reopened`) while restricting the `labeled` event to only the `deps-reviewed` label.
Loading