Skip to content

GitGuardian: Add a push option to skip the GitGuardian check

Problem

We recently introduced a GitGuardian integration that rejects the pushes if a commit violated a policy check: GitGuardian pre-receive secrets detection (&11494 - closed). Sometimes, there is a need to skip the GitGuardian check because of false positives. With this MR, we allowed bypassing the GitGuardian integration when a commit contains [skip secret detection]. However, if a push contains a lot of commits with false positives, the user needs to edit the commit messages for all the ones that are false positives.

Proposal

Add a push option to skip the GitGuardian check, so that all the commits included in the push will bypass the GitGuardian check on push.