[TT-16977] fix: trigger release workflow on PR labeled event #8088
probelabs / Visor: architecture
succeeded
Apr 17, 2026 in 28s
✅ Check Passed (Warnings Found)
architecture 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
Architecture (1)
⚠️ .github/workflows/release.yml:19 - The workflow is configured to trigger every time any label is added to a pull request by using thelabeledevent type. This will cause the workflow to execute for any label, leading to unnecessary workflow runs and resource consumption. The pull request description states the goal is to trigger only for thedeps-reviewedlabel.
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: architecture
architecture Issue
The workflow is configured to trigger every time any label is added to a pull request by using the `labeled` event type. This will cause the workflow to execute for any label, leading to unnecessary workflow runs and resource consumption. The pull request description states the goal is to trigger only for the `deps-reviewed` label.
Raw output
To ensure the workflow runs only when intended, add a condition to the relevant job(s) to check for the specific label. For example:
```yaml
jobs:
your-job-name:
if: github.event.label.name == 'deps-reviewed'
...
```
Loading