File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,17 @@ name: Comment to Commit using Aider
33on :
44 issue_comment :
55 types : [created]
6+ pull_request_review_comment :
7+ types : [created]
68
79jobs :
810 generate :
911 # Only run if the comment is on a PR and contains "@aider"
10- if : ${{ github.event.issue.pull_request && contains(github.event.comment.body, '@aider') }}
12+ if : ${{ contains(github.event.comment.body, '@aider') }}
1113 uses : oscoreio/ai-workflows/.github/workflows/comment-to-commit-using-aider.yml@main
1214 with :
1315 comment-id : ${{ github.event.comment.id }}
14- pr-url : ${{ github.event.issue.pull_request.url }}
16+ pr-url : ${{ github.event.issue.pull_request.url || github.event.pull_request.url }}
1517 secrets :
1618 # You need set one of these keys
1719 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