fix(ci): resolve checks.yml workflow validation error - #1452
Conversation
GitHub Actions does not allow both 'paths' and 'paths-ignore' for the same event. Removed redundant 'paths-ignore' blocks from pull_request and push events in checks.yml. This was causing workflow syntax validation to fail and preventing runs from executing. Issue: Invalid workflow file: (Line: 20, Col: 5) you may only define one of `paths` and `paths-ignore` for a single event Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
GitHub Actions does not allow both 'paths' and 'paths-ignore' for the same event. Updated to use 'paths-ignore' only, which is simpler and aligns with intent: - Exclude .github/reports/** (documentation, shouldn't trigger tests) - Exclude .github/projects/** (project docs, shouldn't trigger tests) - Exclude .github/tmp/** (temporary files, shouldn't trigger tests) - Run tests on all OTHER changes (the common case) This approach is more maintainable than maintaining an explicit allowlist of paths. Fixes: GitHub Actions workflow validation error on checks.yml Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
Missing required section(s): Linked issues, Changelog, Global DoD checklist This is a post-merge backstop for admin bypasses. Please review branch protection for develop. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe checks workflow now runs for pull requests and pushes to ChangesWorkflow trigger coverage
Estimated code review effort: 1 (Trivial) | ~5 minutes ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
🔍 Reviewer Summary for PR #1452CI Status: ❌ Recommendations
|
Summary
Fixed GitHub Actions workflow validation error in checks.yml that was blocking all workflow runs.
Issue: Invalid workflow syntax — cannot define both
pathsandpaths-ignorefor the same trigger event.Solution: Updated to use
paths-ignoreonly for cleaner, more maintainable trigger configuration.Changes
pathslists frompull_requestandpusheventspaths-ignoreonly (excludes reports, projects, tmp)Testing
This fix enables checks.yml to:
Related
🤖 Generated with Claude Code