Skip to content

Commit bf33c80

Browse files
committed
Fix: Allow holon-solve workflow to choose runner (self-hosted/larger)
1 parent 198287f commit bf33c80

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/holon-solve.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ on:
7373
required: false
7474
type: string
7575
default: 'holon-run/holon'
76+
runs_on:
77+
description: 'Runner labels (JSON array or quoted string, e.g. '"'"'["ubuntu-latest"]'"'"' or '"'"'["self-hosted","linux","x64"]'"'"')'
78+
required: false
79+
type: string
80+
default: '["ubuntu-latest"]'
7681
secrets:
7782
anthropic_auth_token:
7883
description: 'Anthropic Auth Token (legacy: anthropic_api_key also supported)'
@@ -96,7 +101,7 @@ on:
96101

97102
jobs:
98103
holon-solve:
99-
runs-on: ubuntu-latest
104+
runs-on: ${{ fromJSON(inputs.runs_on) }}
100105
permissions:
101106
contents: write
102107
issues: write

examples/workflows/holon-trigger.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
with:
2626
issue_number: ${{ github.event.issue.number || github.event.pull_request.number }}
2727
comment_id: ${{ github.event.comment.id || 0 }}
28+
# Optional: Specify custom runner labels (JSON array format)
29+
# For self-hosted or larger runners, uncomment and configure:
30+
# runs_on: '["self-hosted","linux","x64"]'
31+
# runs_on: '["ubuntu-latest"]'
2832
secrets:
2933
anthropic_auth_token: ${{ secrets.ANTHROPIC_AUTH_TOKEN }}
3034
anthropic_base_url: ${{ secrets.ANTHROPIC_BASE_URL }}

0 commit comments

Comments
 (0)