Skip to content

Commit b8c869e

Browse files
authored
Rebase before push
1 parent dda7a41 commit b8c869e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

start.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ cd ${INPUT_DIRECTORY}
2626
remote_repo="${INPUT_GITHUB_URL_PROTOCOL}//${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@${INPUT_GITHUB_URL}/${REPOSITORY}.git"
2727
git config --local --add safe.directory ${INPUT_DIRECTORY}
2828

29+
git pull --rebase
30+
2931
git push "${remote_repo}" HEAD:${INPUT_BRANCH} --follow-tags $_FORCE_OPTION $_TAGS;

0 commit comments

Comments
 (0)