Monorepo for Tangled tangled.org

`TANGLED_REPO_DEFAULT_BRANCH` not populated in pipeline runs as documented #527

Closed oppi.li
Closed opened by oppi.li

Per https://docs.tangled.org/spindles#environment there should be a TANGLED_REPO_DEFAULT_BRANCH env var available in spindle workflow runs.

When I add this to a workflow:

echo "DEBUG: TANGLED_REPO_DEFAULT_BRANCH='$TANGLED_REPO_DEFAULT_BRANCH'"

It does not appear to be populated:

DEBUG: TANGLED_REPO_DEFAULT_BRANCH=''

thanks for the spot! the fix is quite simple, there has been a regression in knots when generating pipeline events, it simply has to calculate and include the DefaultBranch in pipeline events.

should be fixed now!

Sign up or Sign in to add to the discussion.