Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

ci: add fast CI workflow

Steven Enamakeld2f4ae007c0b
diff --git a/.github/workflows/ci-fast.yml b/.github/workflows/ci-fast.yml
index 86e2f1c354..b5957ab250 100644
--- a/.github/workflows/ci-fast.yml
+++ b/.github/workflows/ci-fast.yml
@@ -69,12 +69,14 @@ jobs:
}
member=false
if [ "${GITHUB_EVENT_NAME}" = "workflow_dispatch" ]; then
- # Only someone with write access can dispatch; still require the
- # dispatcher to be a member.
+ # No PR author: the dispatcher, who already needs write access,
+ # must be an org member. Without the membership token that cannot
+ # be checked, so a dispatch then stays off EX63.
AUTHOR="${ACTOR}"
- ASSOCIATION="$([ -n "${MEMBERSHIP_TOKEN}" ] && echo NONE || echo MEMBER)"
- fi
- if is_member "${AUTHOR}" && is_member "${ACTOR}"; then
+ if [ -n "${MEMBERSHIP_TOKEN}" ] && is_member "${ACTOR}"; then
+ member=true
+ fi
+ elif is_member "${AUTHOR}" && is_member "${ACTOR}"; then
member=true
fi
echo "[ci][route] author=${AUTHOR} actor=${ACTOR} association=${ASSOCIATION} token=$([ -n "${MEMBERSHIP_TOKEN}" ] && echo yes || echo no) member=${member}"