We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add the following pre-commit hook
branch="$(git rev-parse --abbrev-ref HEAD)" if [ "$branch" = "main" ]; then echo "Dev Branch commit is blocked" exit 1 fi if [ "$branch" = "master" ]; then echo "Master Branch commit is blocked" exit 1 fi
The text was updated successfully, but these errors were encountered:
add to https://github.com/product-os/dreamsheets-scripts/blob/master/config/project.husky/pre-commit
Sorry, something went wrong.
Lucian mentioned this should probably be controlled at the repo settings level
No branches or pull requests
add the following pre-commit hook
The text was updated successfully, but these errors were encountered: