chore(deps): bump lewagon/wait-on-check-action from 1.6.0 to 1.7.0 #3266
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: PR Review by OpenHands | |
| on: | |
| # Use pull_request so workflow changes can be validated in PRs. | |
| # This workflow requires secrets, so the job only runs for same-repo PRs. | |
| # It runs when: | |
| # 1. A new PR is opened (non-draft), OR | |
| # 2. A draft PR is marked as ready for review, OR | |
| # 3. A maintainer adds the 'review-this' label, OR | |
| # 4. A maintainer requests openhands-agent or all-hands-bot as a reviewer | |
| # Adding labels and requesting reviewers still requires write access. | |
| pull_request: | |
| types: [opened, ready_for_review, labeled, review_requested] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| jobs: | |
| pr-review: | |
| # Run when one of the following conditions is met: | |
| # 1. A new non-draft PR is opened by a non-first-time contributor, OR | |
| # 2. A draft PR is converted to ready for review by a non-first-time contributor, OR | |
| # 3. 'review-this' label is added, OR | |
| # 4. openhands-agent or all-hands-bot is requested as a reviewer | |
| # Note: FIRST_TIME_CONTRIBUTOR and NONE PRs require manual trigger via label/reviewer request. | |
| if: | | |
| github.event.pull_request.head.repo.full_name == github.repository && ( | |
| (github.event.action == 'opened' && github.event.pull_request.draft == false && github.event.pull_request.author_association != 'FIRST_TIME_CONTRIBUTOR' && github.event.pull_request.author_association != 'NONE') || | |
| (github.event.action == 'ready_for_review' && github.event.pull_request.author_association != 'FIRST_TIME_CONTRIBUTOR' && github.event.pull_request.author_association != 'NONE') || | |
| github.event.label.name == 'review-this' || | |
| github.event.requested_reviewer.login == 'openhands-agent' || | |
| github.event.requested_reviewer.login == 'all-hands-bot' | |
| ) | |
| concurrency: | |
| group: pr-review-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Run PR Review | |
| # TODO: Revert to @main after OpenHands/extensions#164 is merged | |
| uses: OpenHands/extensions/plugins/pr-review@feat/pr-review-sub-agent-delegation | |
| with: | |
| llm-model: litellm_proxy/claude-sonnet-4-5-20250929 | |
| llm-base-url: https://llm-proxy.app.all-hands.dev | |
| # Review style: roasted (other option: standard) | |
| review-style: roasted | |
| # Enable experimental sub-agent delegation for file-level reviews | |
| use-sub-agents: 'true' | |
| llm-api-key: ${{ secrets.LLM_API_KEY }} | |
| github-token: ${{ secrets.PAT_TOKEN }} | |
| lmnr-api-key: ${{ secrets.LMNR_SKILLS_API_KEY }} |