name: venture # The venture loop: trending repos -> pitches -> board -> launch plan -> launch page on Pages -> 7 days of signups. # Every 20 minutes it advances whatever is due (cheap when nothing is); a new venture card starts once a day, # or right away: Actions -> venture -> Run workflow -> tick "Start a new venture now" (gh workflow run venture.yml -f start=true). # Off until TIME_VENTURE=on. Signups come in through .github/ISSUE_TEMPLATE/early-access.yml. on: schedule: - cron: "*/20 * * * *" workflow_dispatch: inputs: start: description: "Start a new venture now, even if today's has already run" type: boolean default: false permissions: contents: write issues: write pages: write statuses: write concurrency: group: venture cancel-in-progress: false jobs: tick: runs-on: ubuntu-latest timeout-minutes: 40 steps: - uses: actions/checkout@v5 with: sparse-checkout: .github/time persist-credentials: false # the worker's shell must not find the token in .git/config - run: python3 .github/time/venture.py tick env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VENICE_API_KEY: ${{ secrets.VENICE_API_KEY }} TIME_VENTURE: ${{ vars.TIME_VENTURE }} TIME_VENTURE_START: ${{ inputs.start && '1' || '' }} TIME_VENTURE_PITCH: ${{ vars.TIME_VENTURE_PITCH }} TIME_VENTURE_BOARD: ${{ vars.TIME_VENTURE_BOARD }} TIME_VENTURE_CHAIR: ${{ vars.TIME_VENTURE_CHAIR }} TIME_VENTURE_MEASURE_DAYS: ${{ vars.TIME_VENTURE_MEASURE_DAYS }} TIME_WORKER: ${{ vars.TIME_WORKER }} TIME_WORKER_STEPS: ${{ vars.TIME_WORKER_STEPS }} TIME_WORKER_MAX_TOKENS: ${{ vars.TIME_WORKER_MAX_TOKENS }}