diff --git a/.github/workflows/openhands-resolver.yml b/.github/workflows/openhands-resolver.yml index 02c06d5..9f617f2 100644 --- a/.github/workflows/openhands-resolver.yml +++ b/.github/workflows/openhands-resolver.yml @@ -11,6 +11,9 @@ on: required: false type: string default: "@openhands-agent" + repo-instruction-file: + required: false + type: string secrets: LLM_MODEL: required: true @@ -98,6 +101,7 @@ jobs: echo "COMMENT_ID=${{ github.event.comment.id || 'None' }}" >> $GITHUB_ENV echo "MAX_ITERATIONS=${{ inputs.max_iterations || 50 }}" >> $GITHUB_ENV + echo "REPO_INSTRUCTION_FILE=${{ inputs.repo-instruction-file || '' }}" >> $GITHUB_ENV - name: Comment on issue with start message uses: actions/github-script@v7 @@ -134,7 +138,8 @@ jobs: --issue-number ${{ env.ISSUE_NUMBER }} \ --issue-type ${{ env.ISSUE_TYPE }} \ --max-iterations ${{ env.MAX_ITERATIONS }} \ - --comment-id ${{ env.COMMENT_ID }} + --comment-id ${{ env.COMMENT_ID }} \ + --repo-instruction-file ${{ env.REPO_INSTRUCTION_FILE }} - name: Check resolution result id: check_result