jihoonson opened a new pull request #12300: URL: https://github.com/apache/druid/pull/12300
### Description This PR adds new scripts that can be used as git hooks. To do this, this PR changes the directory structure in https://github.com/apache/druid/tree/master/hooks by adding 2 new directories, `pre-commits` and `pre-pushes`. It also adds 2 new scripts, `pre-commit` and `pre-push`, each of which runs all scripts in `pre-commits` and `pre-pushes` directories, respectively, unless the script name starts with `_`. I didn't add other git hook scripts than pre-commit and pre-push, but they can be added later if necessary. <hr> ##### Key changed/added classes in this PR * `pre-commits` * `pre-pushes` <hr> This PR has: - [x] been self-reviewed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
