Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/openhands-resolver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
github.event_name == 'workflow_call' ||
github.event.label.name == 'fix-me' ||
github.event.label.name == 'fix-me-experimental' ||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, ${{ inputs.macro || '@openhands-agent' }}))
(github.event_name == 'issue_comment' &&
contains(github.event.comment.body, ${{ inputs.macro || '@openhands-agent' }}) &&
(github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MAINTAINER'))
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
4 changes: 3 additions & 1 deletion examples/openhands-resolver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
uses: All-Hands-AI/openhands-resolver/.github/workflows/openhands-resolver.yml@main
if: |
github.event.label.name == 'fix-me' ||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, ${{ inputs.macro || '@openhands-agent' }}))
(github.event_name == 'issue_comment' &&
contains(github.event.comment.body, ${{ inputs.macro || '@openhands-agent' }}) &&
(github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MAINTAINER'))
with:
max_iterations: 50
macro: "@openhands-agent"
Expand Down