Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
bot_name: worktrunk-bot
setup:
- uses: ./.github/actions/tend-setup
# Verify the toolchain installed above before the agent starts. Four tools
# support the pre-merge gate; nix supports the weekly flake.lock refresh.
- run: 'for t in cargo-insta cargo-nextest pre-commit nu nix; do command -v "$t" >/dev/null || { echo "::error::tend setup is missing $t; see Sandbox toolchain in .github/AGENTS.md"; exit 1; }; done'
secrets:
allowed:
- CODECOV_TOKEN
workflows:
ci-failures:
watched_workflows:
- ci
- coverage
# `affected-tests` is continue-on-error, so watching this workflow only
# signs Tend up for `collect-affected` failures — a stale DB degrades
# selection on every later PR, so it is worth fixing.
- affected
- publish-docs
# nightly hosts `full-tests` (the cargo-affected safety net), so a red
# nightly is actionable: Tend triages it instead of leaving main's gaps
# uncaught. Tend watches at the workflow level, so this also signs Tend up
# for the other nightly jobs (minimal-versions, nix-flake, udeps) — an
# accepted trade for keeping the safety net green.
- nightly