Skip to content

Commit

Permalink
setup R for openhands (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmayer authored Nov 29, 2024
1 parent f343a9e commit 4502b80
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions .github/workflows/openhands-resolver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@ permissions:
issues: write

jobs:
setup-r-environment:
openhands-resolver:
if: ${{ github.actor == 'zachmayer' }}
runs-on: ubuntu-latest
strategy:
matrix:
config:
- {r: 'release'}

steps:
- uses: actions/checkout@v4
Expand All @@ -37,17 +33,13 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check

call-openhands-resolver:
needs: setup-r-environment
if: ${{ github.actor == 'zachmayer' }}
uses: All-Hands-AI/OpenHands/.github/workflows/openhands-resolver.yml@main
with:
macro: ${{ vars.OPENHANDS_MACRO || '@openhands-agent' }}
max_iterations: ${{ vars.OPENHANDS_MAX_ITER || 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 }}
- uses: All-Hands-AI/OpenHands/.github/workflows/openhands-resolver.yml@main
with:
macro: ${{ vars.OPENHANDS_MACRO || '@openhands-agent' }}
max_iterations: ${{ vars.OPENHANDS_MAX_ITER || 50 }}
env:
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 }}

0 comments on commit 4502b80

Please sign in to comment.