We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c325a0 commit e4b30d0Copy full SHA for e4b30d0
.github/workflows/sync-cursor-rules.yml
@@ -78,13 +78,21 @@ jobs:
78
cp -v source_repo/.cursor/worktrees.json target_repo/.cursor/worktrees.json
79
fi
80
81
+ # Sync to .agent/rules
82
+ mkdir -p target_repo/.agent
83
+ rm -rf target_repo/.agent/rules
84
+ if [ -d "source_repo/.cursor/rules" ]; then
85
+ cp -rv source_repo/.cursor/rules target_repo/.agent/
86
+ fi
87
+
88
- name: 💾 Review & Push
89
working-directory: target_repo
90
run: |
91
TARGET_BRANCH=${{ steps.branch_info.outputs.branch }}
92
git config user.name "mynameistito"
93
git config user.email "github@mynameistito.com"
94
git add .cursor
95
+ git add .agent
96
97
STATUS=$(git status -s)
98
if [[ -n "$STATUS" ]]; then
0 commit comments