badgr-run-action
v1.0.0
Published
GitHub Action adapter for bounded remote execution through existing Badgr Jobs
Maintainers
Readme
badgr/run
badgr/run@v1 is the GitHub Action mapping for Badgr's small Remote Execution Adapter contract. Agent-toolkit is adapter proof number one; this Action is adapter number two. GitHub supplies the trigger and repository context, then the Action translates that context into the existing POST /v1/run lifecycle.
Adapter proof number one maps a loop without changing the execution primitive:
repository + exact ref + GitHub token + LLM key
→ agent-toolkit loop run daily-triage
→ POST /v1/run
→ existing logs, evidence, receipt, and teardown- uses: badgr/run@v1
with:
command: npx playwright test
max-cost: 2
max-runtime: 30
github-token: ${{ github.token }}
env:
BADGR_API_KEY: ${{ secrets.BADGR_API_KEY }}The Action does not implement execution, routing, billing, or teardown. Those remain part of Badgr Jobs.
Use github-token (or GITHUB_TOKEN in the step environment) when the source repository is private. The token is masked and forwarded to the worker for checkout as BADGR_GITHUB_TOKEN.
