#!/usr/bin/env bash
set -euo pipefail
# Run from a current main worktree with dependencies installed and this scenario in scripts/scenarios.
export PROOF_CAFE_TOKEN="${CAFE_TOKEN:?A valid GitCafe token is required}"
export PROOF_REAL_CAFE="$(command -v cafe)"
export SHELL="$(cd "$(dirname "$0")" && pwd)/proof-shell"
export T3_SCENARIO_INHERIT_ENV='SHELL,PROOF_CAFE_TOKEN,PROOF_REAL_CAFE,T3CODE_DEV_SEED'
export T3CODE_DEV_SEED=0
vp run scenarios:prove scripts/scenarios/gitcafe-credential-timeout.e2e.ts --base be9176761ce2f6597013678b4538c772ae507400 --head 500617b88a45da9fcf43cc062b17a8aaa5b62545 --upload-command 'ghdrop upload'
