eny.space Landingpage
1
fork

Configure Feed

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

fix(ci): use symbolic-ref

Sam Sauer 69414b77 e7949349

+1 -1
+1 -1
.tangled/workflows/mirror.yml
··· 17 17 command: | 18 18 git fetch --unshallow || true 19 19 git remote add github https://x-access-token:$ACCESS_TOKEN@$GIT_REPOSITORY 20 - BRANCH=$(git rev-parse --abbrev-ref HEAD) 20 + BRANCH=$(git symbolic-ref --short HEAD 2>/dev/null || git log -1 --format='%D' | tr ',' '\n' | grep 'origin/' | sed 's|.*origin/||' | tr -d ' ' | head -1) 21 21 git push github HEAD:refs/heads/mirror/${BRANCH} --force