Skip to content

Tighten holon trigger auto-review behavior #1721

Tighten holon trigger auto-review behavior

Tighten holon trigger auto-review behavior #1721

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Holon Trigger

Invalid workflow file

The workflow is not valid. .github/workflows/holon-trigger.yml (Line: 18, Col: 3): Error calling workflow 'holon-run/holon/.github/workflows/holon-solve.yml@0f234ba65efba9dcb85d0dfad394d09a55bc10c5'. The nested job 'holon-solve' is requesting 'packages: read', but is only allowed 'packages: none'.
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 }}