fix: use --no-verify when testing the Git permissions
This commit is contained in:
+1
-1
@@ -204,7 +204,7 @@ async function isGitRepo(execaOpts) {
|
|||||||
*/
|
*/
|
||||||
async function verifyAuth(repositoryUrl, branch, execaOpts) {
|
async function verifyAuth(repositoryUrl, branch, execaOpts) {
|
||||||
try {
|
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) {
|
} catch (error) {
|
||||||
debug(error);
|
debug(error);
|
||||||
throw error;
|
throw error;
|
||||||
|
|||||||
Reference in New Issue
Block a user