π OpenHands: AI-Driven Development
Adding experimental option for resolver macro (#5131)
Rohit Malhotra2a78b3323b98
diff --git a/.github/workflows/openhands-resolver.yml b/.github/workflows/openhands-resolver.ymlindex 44875b177e..b517f4c46e 100644--- a/.github/workflows/openhands-resolver.yml+++ b/.github/workflows/openhands-resolver.yml@@ -40,7 +40,6 @@ permissions:issues: writejobs:-auto-fix:if: |github.event_name == 'workflow_call' ||@@ -76,7 +75,18 @@ jobs:cat requirements.txt- name: Cache pip dependencies- if: github.event.label.name != 'fix-me-experimental'+ if: |+ !(+ github.event.label.name == 'fix-me-experimental' ||+ (+ (github.event_name == 'issue_comment' || github.event_name == 'pull_request_review_comment') &&+ startsWith(github.event.comment.body, inputs.macro || '@openhands-agent-exp')+ ) ||+ (+ github.event_name == 'pull_request_review' &&+ startsWith(github.event.review.body, inputs.macro || '@openhands-agent-exp')+ )+ )uses: actions/cache@v3with:path: ${{ env.pythonLocation }}/lib/python3.12/site-packages/*@@ -140,7 +150,11 @@ jobs:- name: Install OpenHandsrun: |- if [ "${{ github.event.label.name }}" == "fix-me-experimental" ]; then+ if [[ "${{ github.event.label.name }}" == "fix-me-experimental" ]] ||+ ([[ "${{ github.event_name }}" == "issue_comment" || "${{ github.event_name }}" == "pull_request_review_comment" ]] &&+ [[ "${{ github.event.comment.body }}" == "@openhands-agent-exp"* ]]) ||+ ([[ "${{ github.event_name }}" == "pull_request_review" ]] &&+ [[ "${{ github.event.review.body }}" == "@openhands-agent-exp"* ]]); thenpython -m pip install --upgrade pippip install git+https://github.com/all-hands-ai/openhands.gitelse