#!/bin/sh

branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$branch" = "master" ]; then
    echo "❌ Direct commits to 'master' are not allowed."
    exit 1
fi
