Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
chintankavathia committed Dec 2, 2024
1 parent 00889a1 commit 12e7033
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
UPSTREAM=${{ github.base_ref }} # Target branch of the pull request (usually master)
CURRENT=$(git rev-parse HEAD) # Latest commit on the PR branch
MERGED=$(git merge-base HEAD origin/$UPSTREAM) # Common ancestor between HEAD and master
echo "Current commit: $CURRENT"
echo "Merged base commit: $MERGED"
if [ "$MERGED" != "$CURRENT" ]; then
echo "This branch is not rebased with the latest master."
exit 1
Expand Down

0 comments on commit 12e7033

Please sign in to comment.