From 7b65da3b06a9a1066c3d216601b9184098c10729 Mon Sep 17 00:00:00 2001 From: "rohitvinodmalhotra@gmail.com" Date: Thu, 21 Nov 2024 22:33:16 -0500 Subject: [PATCH] removing redundant checks --- .../resolver/examples/openhands-resolver.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/openhands/resolver/examples/openhands-resolver.yml b/openhands/resolver/examples/openhands-resolver.yml index 2e2f42be0bac..13571b7703e1 100644 --- a/openhands/resolver/examples/openhands-resolver.yml +++ b/openhands/resolver/examples/openhands-resolver.yml @@ -19,21 +19,6 @@ permissions: jobs: call-openhands-resolver: - if: | - github.event.label.name == 'fix-me' || - - ( - ((github.event_name == 'issue_comment' || github.event_name == 'pull_request_review_comment') && - (startsWith(github.event.comment.body, inputs.macro || '@openhands-agent') || startsWith(github.event.comment.body, inputs.macro || vars.OPENHANDS_MACRO)) && - (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER') - ) || - - (github.event_name == 'pull_request_review' && - (startsWith(github.event.review.body, inputs.macro || '@openhands-agent') || startsWith(github.event.review.body, inputs.macro || vars.OPENHANDS_MACRO)) && - (github.event.review.author_association == 'OWNER' || github.event.review.author_association == 'COLLABORATOR' || github.event.review.author_association == 'MEMBER') - ) - ) - uses: All-Hands-AI/OpenHands/.github/workflows/openhands-resolver.yml@main with: macro: ${{ vars.OPENHANDS_MACRO || '@openhands-agent' }}