File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 1- name : Resolve Issues with OpenHands
1+ name : Resolve Issue with OpenHands
22
33on :
44 issues :
55 types : [labeled]
6+ pull_request :
7+ types : [labeled]
8+ issue_comment :
9+ types : [created]
10+
11+ permissions :
12+ contents : write
13+ pull-requests : write
14+ issues : write
615
716jobs :
817 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+ }}
925 uses : All-Hands-AI/openhands-resolver/.github/workflows/openhands-resolver.yml@main
10- if : github.event.label.name == 'fix-me'
1126 with :
12- issue_number : ${{ github.event.issue.number }}
27+ macro : ${{ vars.OPENHANDS_MACRO || '@openhands-agent' }}
28+ max_iterations : 50
1329 secrets :
1430 PAT_TOKEN : ${{ secrets.PAT_TOKEN }}
1531 PAT_USERNAME : ${{ secrets.PAT_USERNAME }}
16- PAT_FORK_OWNER : ${{ secrets.PAT_FORK_OWNER }}
1732 LLM_MODEL : ${{ secrets.LLM_MODEL }}
1833 LLM_API_KEY : ${{ secrets.LLM_API_KEY }}
19- LLM_BASE_URL : ${{ secrets.LLM_BASE_URL }}
34+ LLM_BASE_URL : ${{ secrets.LLM_BASE_URL }}
You can’t perform that action at this time.
0 commit comments