|
|
@@ -35,9 +35,10 @@ if (import.meta.url === `file://${process.argv[1]}`) {
|
|
|
process.exit(0);
|
|
|
}
|
|
|
|
|
|
- // Skip if pusher is claude (avoid loops)
|
|
|
- if (pusher === 'claude') {
|
|
|
- console.log('Pusher is claude, skipping automation to avoid loops');
|
|
|
+ // Skip if pusher is claude AND assignee is NOT claude (avoid loops)
|
|
|
+ // Allow Claude to work on issues it created and assigned to itself
|
|
|
+ if (pusher === 'claude' && assignee !== 'claude') {
|
|
|
+ console.log('Pusher is claude and issue not assigned to claude, skipping automation to avoid loops');
|
|
|
process.exit(0);
|
|
|
}
|
|
|
|