Tighten holon trigger auto-review behavior #1721
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: Holon Trigger | ||
| on: | ||
| issue_comment: | ||
| types: [created] | ||
| issues: | ||
| types: [labeled, assigned] | ||
| pull_request: | ||
| types: [opened, synchronize, reopened, ready_for_review, labeled] | ||
| permissions: | ||
| contents: write | ||
| issues: write | ||
| pull-requests: write | ||
| id-token: write | ||
| jobs: | ||
| holon: | ||
|
Check failure on line 18 in .github/workflows/holon-trigger.yml
|
||
| name: Run Holon (via holon-solve) | ||
| uses: ./.github/workflows/holon-solve.yml | ||
| with: | ||
| issue_number: ${{ github.event.issue.number || github.event.pull_request.number }} | ||
| lane: ${{ (github.event_name == 'pull_request' || github.event_name == 'pull_request_review') && 'review' || (github.event_name == 'issue_comment' && 'command' || 'meta') }} | ||
| label_name: ${{ github.event.label.name || '' }} | ||
| assignee_login: ${{ github.event.assignee.login || '' }} | ||
| comment_id: ${{ github.event.comment.id || 0 }} | ||
| review_id: ${{ github.event.review.id || 0 }} | ||
| auto_review: ${{ fromJSON(vars.HOLON_AUTO_REVIEW || 'false') }} | ||
| # Optional: override goal for all runs. | ||
| # goal: 'Review this PR and publish findings.' | ||
| # Repo-local workflow uses the current branch Holon implementation. | ||
| log_level: 'debug' | ||
| build_from_source: true | ||
| secrets: | ||
| anthropic_auth_token: ${{ secrets.ANTHROPIC_AUTH_TOKEN }} | ||
| holon_github_token: ${{ secrets.HOLON_GITHUB_TOKEN }} | ||
| anthropic_base_url: ${{ secrets.ANTHROPIC_BASE_URL }} | ||