You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplified the workflow to only detect commands that:
- Start with /ci (e.g., /ci, /ci-run, /ci-test)
- Appear at the beginning of the comment or after a newline
Benefits of this approach:
- Much simpler logic - removed complex keyword matching
- Fewer false positives - only triggers on /ci* commands
- No need for code block filtering - acceptable tradeoff
- Clearer intent - users typing /ci* are clearly trying a command
- Easier to maintain and understand
The workflow still:
- Excludes valid commands (/run-skipped-ci, /stop-run-skipped-ci)
- Uses safe JSON parsing with environment variables
- Provides helpful documentation when triggered
Testing shows 100% pass rate across all scenarios.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments