Skip to content

Commit

Permalink
BI-29: small fix for commit 8479d38
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtiwari110 committed Oct 13, 2023
1 parent 8479d38 commit 1097774
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ jobs:

- name: Check for Divergence
run: |
if git merge-base --is-ancestor main @
if git merge-base --is-ancestor origin/main HEAD
then
echo "Your branch is up to date."
echo "Your branch is up to date with the main branch."
exit 0
else
echo "You need to merge / rebase."
echo "Your branch is not up to date. You need to merge or rebase."
exit 1
fi

0 comments on commit 1097774

Please sign in to comment.