Skip to content

Commit 9e2679f

Browse files
authored
Update openhands-resolver.yml
1 parent 0033f86 commit 9e2679f

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/openhands-resolver.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
types: [labeled]
88
issue_comment:
99
types: [created]
10+
pull_request_review_comment:
11+
types: [created]
12+
pull_request_review:
13+
types: [submitted]
1014

1115
permissions:
1216
contents: write
@@ -15,17 +19,11 @@ permissions:
1519

1620
jobs:
1721
call-openhands-resolver:
18-
if: |
19-
${{
20-
github.event.label.name == 'fix-me' ||
21-
(github.event_name == 'issue_comment' &&
22-
startsWith(github.event.comment.body, vars.OPENHANDS_MACRO || '@openhands-agent') &&
23-
(github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER'))
24-
}}
25-
uses: All-Hands-AI/OpenHands/.github/workflows/openhands-resolver.yml@neubig/resolver_package_name
22+
uses: All-Hands-AI/OpenHands/.github/workflows/openhands-resolver.yml@main
2623
with:
2724
macro: ${{ vars.OPENHANDS_MACRO || '@openhands-agent' }}
28-
max_iterations: 50
25+
max_iterations: ${{ fromJson(vars.OPENHANDS_MAX_ITER || 50) }}
26+
base_container_image: ${{ vars.OPENHANDS_BASE_CONTAINER_IMAGE || "" }}
2927
secrets:
3028
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
3129
PAT_USERNAME: ${{ secrets.PAT_USERNAME }}

0 commit comments

Comments
 (0)