mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Rohit Malhotra <rohitvinodmalhotra@gmail.com>
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
name: Resolve Issue with OpenHands
|
|
|
|
on:
|
|
issues:
|
|
types: [labeled]
|
|
pull_request:
|
|
types: [labeled]
|
|
issue_comment:
|
|
types: [created]
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
issues: write
|
|
|
|
jobs:
|
|
call-openhands-resolver:
|
|
if: |
|
|
${{
|
|
github.event.label.name == 'fix-me' ||
|
|
(github.event_name == 'issue_comment' &&
|
|
startsWith(github.event.comment.body, vars.OPENHANDS_MACRO || '@openhands-agent') &&
|
|
(github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER'))
|
|
}}
|
|
uses: All-Hands-AI/OpenHands/.github/workflows/openhands-resolver.yml@main
|
|
with:
|
|
macro: ${{ vars.OPENHANDS_MACRO || '@openhands-agent' }}
|
|
max_iterations: 50
|
|
secrets:
|
|
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
PAT_USERNAME: ${{ secrets.PAT_USERNAME }}
|
|
LLM_MODEL: ${{ secrets.LLM_MODEL }}
|
|
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
|
|
LLM_BASE_URL: ${{ secrets.LLM_BASE_URL }}
|