Skip to content

Commit

Permalink
fix: don't fail when base branch is out of date
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Feb 17, 2025
1 parent 8e3dfdd commit ec6cc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pick_base_and_head_hash || exit 1
# Check if Base sha exists
if [[ "${BASE}" = "0000000000000000000000000000000000000000" ]]; then
echo "::warning:: git: base SHA1 (${BASE}) doesn't exist. Make sure that the base branch is up-to-date."
exit 1
exit 0
fi

# Make sure we have correct BASE even when force-push was used
Expand Down

0 comments on commit ec6cc0e

Please sign in to comment.