question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NoVerify builder option (or command flag) works only when doing git push.

See original GitHub issue

I’ve started using your library a few days ago and I found a use case that you may haven’t considered.

I’m not sure if it’s a good or bad practice, but I have my local testing pipeline (lint, test, etc) on my pre-commit hook.

I followed the path of the options that we defined on the architect target definition, and it seems that the only place where you explicitly use the noVerify option is in here: , line 77.

My condition is: I’ve put the affected --target=version --no-verify command into another hook, after the pre-commit. My issue is: when the command makes the version changes commit, it runs my pre-commit hook again, disregarding the noVerify option.

I’m not sure if this is a designed behaviour or just a strange use case.

Please, let me know if I can be of any help.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
edbzncommented, Nov 28, 2021

Hi, finally fixed this. Thanks for reporting!

0reactions
edbzncommented, Sep 28, 2021

@gabsmprocha @nicolashernandezamor-drd It’s weird because the underlying package that creates the commit gets the noVerify option correctly. I need to investigate further, but I’m currently working on something else, I’m not against another hand for fixing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

git-push Documentation - Git
Also, when --force-with-lease option is used, the command refuses to update a remote ref whose current value does not match what is expected....
Read more >
Is there a way to pass --no-verify when creating a PR? #684
Sometimes I would like to be able to create a PR without running the pre-commit and commit-msg pre-push hooks when pushing the changes....
Read more >
github - Git's --no-verify option - Stack Overflow
1 Answer 1 · You have an alias that adds this by default within your .gitconfig · You pass this flag every time...
Read more >
git-push - man pages section 1: User Commands
git -push - Update remote refs along with associated objects. ... --mirror, --tags options, the command finds the default <refspec> by consulting remote....
Read more >
The Git Push Command Explained - freeCodeCamp
The git push command allows you to send (or push) the commits from your local branch in your local Git repository to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found