Fix Workflow Trigger Paths to Include Configuration Folders#14
Merged
Conversation
- Include .ai-rules, .antigravity, .claude, .codex, .cursor, scripts - Update canary and dev workflow triggers Ensures builds trigger when core configuration files change. resolve #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix Workflow Trigger Paths to Include Configuration Folders
📋 Summary
Expands GitHub Actions workflow trigger paths to include core configuration folders (
.ai-rules/,.antigravity/,.claude/,.codex/,.cursor/,scripts/). This ensures that canary and dev builds trigger when these critical project configuration files change.Resolves #13
🎯 Problem
Before This Change
GitHub workflows (
codebuddy-canary.yml,codebuddy-dev.yml) only triggered on changes within themcp-server/folder. However, several critical configuration folders were excluded:.ai-rules/- AI rules definitions that are copied intomcp-server/duringprepublishOnlyand included in the npm package.antigravity/- Antigravity (Gemini) configuration.claude/- Claude Code configuration.codex/- GitHub Copilot configuration.cursor/- Cursor AI configurationscripts/- Build/deployment scriptsImpact
When changes were made to these folders (especially
.ai-rules/), workflows did not trigger, requiring manual intervention or changes tomcp-server/to trigger builds. This was problematic because:.ai-rules/changes are included in the npm package viaprepublishOnlyscript✨ Solution
Changes Made
Added 6 new path patterns to both workflow files:
Files Modified
.github/workflows/codebuddy-canary.yml(+6 lines).github/workflows/codebuddy-dev.yml(+6 lines)Total: 2 files changed, +12 insertions
✅ Benefits
.ai-rules/changes are properly packaged and deployed🧪 Testing
mcp-server/**trigger behavior.ai-rules/changes (manual test after merge).claude/changes (manual test after merge)Issues
resolve #13