Skip to content

Commit 4ef6193

Browse files
committed
fix(ci): post GH_TOKEN @claude comment on new issues; drop duplicate label trigger
Made-with: Cursor
1 parent 27c4d2d commit 4ef6193

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

.github/workflows/auto-issue-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
issue_number: context.issue.number,
3434
owner: context.repo.owner,
3535
repo: context.repo.repo,
36-
body: '🤖 Auto-triaging with Claude. Analyzing issue and implementing a fix...'
36+
body: '@claude Read this issue (title + body) and all existing comments. Implement or fix in `praisonai_tools/` with minimal changes; follow README and existing tool patterns (lazy optional deps, clear errors). Open a PR when you have commits.\n\n🤖 Auto-triage: label `claude` was added for filtering.'
3737
});

.github/workflows/claude.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Claude Assistant
33
on:
44
issue_comment:
55
types: [created]
6-
issues:
7-
types: [labeled]
86

97
permissions:
108
contents: write
@@ -18,17 +16,11 @@ jobs:
1816
env:
1917
ISSUE_NUMBER_RESOLVED: ${{ github.event.issue.number }}
2018
if: |
21-
(
22-
github.event_name == 'issue_comment' &&
23-
contains(github.event.comment.body, '@claude') &&
24-
github.actor != 'dependabot[bot]' &&
25-
github.actor != 'cursor[bot]' &&
26-
github.actor != 'renovate[bot]'
27-
) || (
28-
github.event_name == 'issues' &&
29-
github.event.action == 'labeled' &&
30-
github.event.label.name == 'claude'
31-
)
19+
github.event_name == 'issue_comment' &&
20+
contains(github.event.comment.body, '@claude') &&
21+
github.actor != 'dependabot[bot]' &&
22+
github.actor != 'cursor[bot]' &&
23+
github.actor != 'renovate[bot]'
3224
runs-on: ubuntu-latest
3325
steps:
3426
- name: Checkout repository

0 commit comments

Comments
 (0)