Skip to content

Commit f7740d6

Browse files
committed
perf: only perform git pull after repo clone
1 parent 19b74a8 commit f7740d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pi_release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
git config user.name "GitHub Actions"
6565
6666
git checkout -b "$HEAD_REF" || git checkout "$HEAD_REF"
67-
git push origin "$HEAD_REF" && git pull origin "$HEAD_REF"
67+
git pull origin "$HEAD_REF"
6868
6969
git add ${{ env.DOCKERFILE }}
7070
git commit -m "$PR_TITLE" || true

0 commit comments

Comments
 (0)