fix: use --no-verify
when testing the Git permissions
This commit is contained in:
parent
88fe81915b
commit
b54b20d412
@ -204,7 +204,7 @@ async function isGitRepo(execaOpts) {
|
||||
*/
|
||||
async function verifyAuth(repositoryUrl, branch, execaOpts) {
|
||||
try {
|
||||
await execa('git', ['push', '--dry-run', repositoryUrl, `HEAD:${branch}`], execaOpts);
|
||||
await execa('git', ['push', '--dry-run', '--no-verify', repositoryUrl, `HEAD:${branch}`], execaOpts);
|
||||
} catch (error) {
|
||||
debug(error);
|
||||
throw error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user