Skip to content

is skip option available for post-commit git hook? #682

Closed Answered by mrexox
jessicatarra asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! Yes, these settings are valid. But if you want to ignore the whole hook you can place the skip option right under the hook name like this:

post-commit:
  parallel: true
  skip:
    - merge
    - rebase
  scripts:
    "analyze-packages-diff-filter":
      runner: bash
      use_stdin: true

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mrexox
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants