A seat gets hands through the repo's own Actions token: list/read/write files on branch time/card-N via the contents API, run shell on a checkout, open the PR. Same contract as the Cursor worker (PR body says Closes #N), so review, landing and next-card are unchanged. Workflow files are refused to the seat. Needs only VENICE_API_KEY; no Cursor key. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UpT7eWzeLhRwuYmsSQnbRb
26 lines
858 B
YAML
26 lines
858 B
YAML
name: doctor
|
|
# Manual check of Time's setup: label, settings, keys (never printed). Result in the run summary.
|
|
on: workflow_dispatch
|
|
permissions:
|
|
contents: read
|
|
issues: read
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 3
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
sparse-checkout: .github/time
|
|
- run: python3 .github/time/test_time.py
|
|
- run: python3 .github/time/time.py doctor
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
|
|
VENICE_API_KEY: ${{ secrets.VENICE_API_KEY }}
|
|
TIME_MODE: ${{ vars.TIME_MODE }}
|
|
TIME_DAILY_CAP: ${{ vars.TIME_DAILY_CAP }}
|
|
TIME_REVIEW: ${{ vars.TIME_REVIEW }}
|
|
TIME_WORKER: ${{ vars.TIME_WORKER }}
|
|
TIME_AUTOMERGE: ${{ vars.TIME_AUTOMERGE }}
|