is skip option available for post-commit git hook? #682
-
Hello everyone, I have a question regarding the validity of the following yaml configuration, specifically the 'skip' option part. Could someone please confirm if these settings are indeed valid for post-commit hook? Thank you in advance. post-commit:
parallel: true
scripts:
"analyze-packages-diff-filter":
skip:
- merge
- rebase
runner: bash
use_stdin: true
|
Beta Was this translation helpful? Give feedback.
Answered by
mrexox
Mar 21, 2024
Replies: 2 comments
-
Hey! Yes, these settings are valid. But if you want to ignore the whole hook you can place the post-commit:
parallel: true
skip:
- merge
- rebase
scripts:
"analyze-packages-diff-filter":
runner: bash
use_stdin: true |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mrexox
-
Thanks! It worked |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: