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 8df8a99 commit f142c25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check-base-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
CURRENT_BRANCH=$(echo "${{ github.ref }}" | sed 's|.*/||')
TARGET_BRANCH="${{ github.event.pull_request.base.ref }}"
echo $CURRENT_BRANCH
echo $TARGET_BRANCH
COMMON_ANCESTOR=$(git merge-base $CURRENT_BRANCH origin/$TARGET_BRANCH)
COMMITS_BEHIND=$(git rev-list --count origin/main ^$COMMON_ANCESTOR)
Expand Down

0 comments on commit f142c25

Please sign in to comment.