File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,15 @@ name: Comment to Commit using Aider
33on :
44 issue_comment :
55 types : [created]
6- pull_request_review_comment :
7- types : [created]
86
97jobs :
108 generate :
119 # Only run if the comment is on a PR and contains "@aider"
12- if : ${{ contains(github.event.comment.body, '@aider') }}
10+ if : ${{ github.event.issue.pull_request && contains(github.event.comment.body, '@aider') }}
1311 uses : oscoreio/ai-workflows/.github/workflows/comment-to-commit-using-aider.yml@main
1412 with :
1513 comment-id : ${{ github.event.comment.id }}
16- pr-url : ${{ github.event.issue.pull_request.url || github.event.pull_request.url }}
14+ pr-url : ${{ github.event.issue.pull_request.url }}
1715 secrets :
1816 # You need set one of these keys
1917 openrouter-api-key : ${{ secrets.OPENROUTER_API_KEY }} # while it allows to use DeepSeek R1 for free, it still required to rate-limiting you
You can’t perform that action at this time.
0 commit comments