Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrabyrd committed Apr 18, 2024
1 parent e92237a commit 80bf98c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check-base-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
git fetch origin
MERGE_BRANCH=${{ github.event.pull_request.head.ref }}
COMMITS_BEHIND=$(git log --oneline ^HEAD origin/$MERGE_BRANCH)
COMMITS_BEHIND=$(git log --oneline origin/$MERGE_BRANCH ^HEAD)
echo $MERGE_BRANCH
if [ -n "$COMMITS_BEHIND" ]; then
echo "Your branch is behind the target branch. The following commits are missing:"
Expand Down

0 comments on commit 80bf98c

Please sign in to comment.