Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco785 authored May 6, 2024
1 parent 444acc2 commit e839cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ echo "comitted png files"

# add review comment
if [[ "${INPUT_ENABLEREVIEWCOMMENT}" != "true" ]]; then
git push
git push origin HEAD:${GITHUB_HEAD_REF}
exit 0
fi
git fetch
Expand Down Expand Up @@ -85,4 +85,4 @@ curl -X POST \
-d "{\"event\": \"COMMENT\", \"body\": \"${BODY}\"}" \
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/pulls/${PULL_NUM}/reviews"
echo "added review comments"
git push
git push origin HEAD:${GITHUB_HEAD_REF}

0 comments on commit e839cd2

Please sign in to comment.