feat(changes): exclude non-build/test files#11563
Conversation
Agent-Logs-Url: https://github.com/radius-project/radius/sessions/d268037e-d425-46c6-b8ef-d990827bed16 Co-authored-by: DariuszPorowski <3431813+DariuszPorowski@users.noreply.github.com>
Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the reusable change-detection workflow (.github/workflows/__changes.yml) so that PRs touching only non-build/test configuration (bot configs, release/publish/purge workflows, devcontainer files, and Codecov config) can skip running the full build/test suite.
Changes:
- Expanded the default
filespattern list to include additional non-build/test GitHub config files and workflows. - Added root-level
.codecov.ymland.devcontainer/**to the “skip full CI when only these changed” set.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11563 +/- ##
=======================================
Coverage 51.40% 51.41%
=======================================
Files 699 699
Lines 44156 44156
=======================================
+ Hits 22698 22702 +4
+ Misses 19291 19289 -2
+ Partials 2167 2165 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Radius functional test overviewClick here to see the test run details
Test Status⌛ Building Radius and pushing container images for functional tests... |
__changes.ymlpreviously only excluded markdown files from triggering the build/test suite. PRs that touch only bot configs, release workflows, or devcontainer files would still run the full CI pipeline unnecessarily.Adds the following pattern categories to the skip-tests list:
close-stale-prs.yml,devcontainer-feature-*.yaml,devops-boards.yaml,publish-*.yaml,purge-*.yaml,radius-bot.yaml,release.yaml,release-verification.yaml,require-pr-checklist.yaml,scorecard.yaml,triage-bot.yaml.github/ISSUE_TEMPLATE/**,.github/configs/**,.github/dependabot.yml,.github/release.yml,.github/runners/**,.github/triage-bot/**.devcontainer/**.codecov.ymlBuild/test-critical workflows (
build.yaml,unit-tests.yaml,functional-test-*.yaml,lint.yaml,validate-*.yaml,codeql.yml,dependency-review.yml, composite actions) are intentionally excluded from this list so changes to them still trigger the full suite.Type of change
Contributor checklist