Skip to content

Commit 91e4d17

Browse files
committed
clean
1 parent 42e918b commit 91e4d17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ jobs:
7070
DEFAULT_BRANCH=$(curl -H "Authorization: token $GITHUB_TOKEN" \
7171
"https://api.github.com/repos/$GITHUB_REPOSITORY" | jq -r '.default_branch')
7272
73-
CUR_SHA=$(git log --pretty=tformat:"%H" -n1 .)
74-
LAST_SHA=$(git log --pretty=tformat:"%H" -n2 | tail -n1)
7573
git fetch
74+
CUR_SHA=$(git log --pretty=tformat:"%H" -n1 . | tail -n1)
75+
LAST_SHA=$(git log --pretty=tformat:"%H" -n2 . | tail -n1)
7676
7777
echo "Default branch is $DEFAULT_BRANCH"
7878
echo "Current SHA is $CUR_SHA"

0 commit comments

Comments
 (0)