Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ysawa0 committed Nov 6, 2023
1 parent 42e918b commit 91e4d17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ jobs:
DEFAULT_BRANCH=$(curl -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/$GITHUB_REPOSITORY" | jq -r '.default_branch')
CUR_SHA=$(git log --pretty=tformat:"%H" -n1 .)
LAST_SHA=$(git log --pretty=tformat:"%H" -n2 | tail -n1)
git fetch
CUR_SHA=$(git log --pretty=tformat:"%H" -n1 . | tail -n1)
LAST_SHA=$(git log --pretty=tformat:"%H" -n2 . | tail -n1)
echo "Default branch is $DEFAULT_BRANCH"
echo "Current SHA is $CUR_SHA"
Expand Down

0 comments on commit 91e4d17

Please sign in to comment.