Workflow tweaking#1802
Conversation
Run tests on all PRs, but only check labels on main and release.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughTwo GitHub Actions workflows are refined to apply more selective filtering: the label check workflow now targets only ChangesCI Workflow Trigger Refinement
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR adjusts GitHub Actions workflow triggers so that CI tests run for every pull request, while the “Label Check” workflow only runs for PRs targeting main or release/**.
Changes:
- Removed the
pull_request.branchesfilter fromdotnet-test.ymlso tests run on all PRs. - Added a
pull_request.branchesfilter tocheck-label-added.ymlso label enforcement only applies to PRs intomainandrelease/**.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/dotnet-test.yml |
Expands test workflow execution to all pull requests by removing branch filtering. |
.github/workflows/check-label-added.yml |
Restricts label-check workflow to PRs targeting main and release/**. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|



Run tests on all PRs, but only check labels on main and release.
Tested by opening the PR against another branch to see that label check did not run, but tests did.
Summary by CodeRabbit