Skip to content

Commit

Permalink
stop stashing and use the specified conflict resolution strategy only
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Mar 29, 2024
1 parent d889adb commit e31e66d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ if [ -n "$(git status --porcelain)" ]; then
git stash
git fetch "$INPUT_REMOTE" "$GITHUB_REF:actions-x-temp-branch"
git switch actions-x-temp-branch
STASH_NAME=$(git stash list | awk -F: '/stash@/{print $1}')
if [ -n "$STASH_NAME" ]; then
git stash pop
fi
git add $INPUT_FILES -v
git commit -m "$INPUT_MESSAGE"
else
Expand Down

0 comments on commit e31e66d

Please sign in to comment.