Skip to content

Instantly share code, notes, and snippets.

@fczuardi
Last active November 28, 2019 19:56
Show Gist options
  • Save fczuardi/28603ab9963ddee018fc21af580f729c to your computer and use it in GitHub Desktop.
Save fczuardi/28603ab9963ddee018fc21af580f729c to your computer and use it in GitHub Desktop.
# pre_commit stage
pre_commit:
image: stoqdev2/pre-commit:latest
stage: pre_commit
script:
- pre-commit run --source `git rev-list origin/master -1` --origin HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment