eny.space Landingpage
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(ci): watch prs and change the ref name accordingly

+3 -1
+3 -1
.tangled/workflows/mirror.yml
··· 2 2 when: 3 3 - event: ["push"] 4 4 branch: ["main", "develop", "feature/*"] 5 + - event: ["pull_request"] 5 6 6 7 engine: "nixery" 7 8 ··· 17 18 command: | 18 19 git fetch --unshallow || true 19 20 git remote add github https://x-access-token:$ACCESS_TOKEN@$GIT_REPOSITORY 20 - git push github HEAD:refs/heads/mirror/$TANGLED_REF_NAME --force 21 + REF_NAME=${TANGLED_REF_NAME:-$TANGLED_PR_TARGET_BRANCH} 22 + git push github HEAD:refs/heads/mirror/$REF_NAME --force