nkdAgility / azure-devops-git-tools

Lets you sync your VSTS and GutHub repos
MIT License
14 stars 11 forks source link

Cannot prompt because user interactivity has been disabled. #15

Open AzAdmin-GuardianAngel360 opened 2 years ago

AzAdmin-GuardianAngel360 commented 2 years ago

So when I operate according to instructions I noticed 2 problems

1) It rose to green making me think it passed (It did not) 2) I have my script in with my PAT From Github as directed in docs. its main problem is "Cannot prompt because user interactivity has been disabled."

What am I doing wrong?

image

Starter pipeline

Start with a minimal pipeline that you can customize to build and deploy your code.

Add steps that build, run tests, deploy, and more:

https://aka.ms/yaml

pool: vmImage: windows-latest

steps:

==== Output ==== 2022-04-29T19:05:24.7248037Z ##[section]Starting: gitsync 2022-04-29T19:05:24.8717434Z ============================================================================== 2022-04-29T19:05:24.8718112Z Task : Publish Git Repo 2022-04-29T19:05:24.8718358Z Description : Lets you Sync your Git repository with another 2022-04-29T19:05:24.8718563Z Version : 1.3.48 2022-04-29T19:05:24.8718726Z Author : Martin Hinshelwood 2022-04-29T19:05:24.8719572Z Help : v1.3.48 More Information 2022-04-29T19:05:24.8720023Z ============================================================================== 2022-04-29T19:05:27.0945748Z Switched to a new branch 'azure-pipelines-pipelines-push-to-git' 2022-04-29T19:05:27.0946684Z Branch 'azure-pipelines-pipelines-push-to-git' set up to track remote branch 'azure-pipelines-pipelines-push-to-git' from 'origin'. 2022-04-29T19:05:29.9739290Z fatal: Cannot prompt because user interactivity has been disabled. 2022-04-29T19:05:30.3508927Z fatal: Cannot prompt because user interactivity has been disabled. 2022-04-29T19:05:30.3793262Z fatal: could not read Password for 'https://$(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)@github.com': terminal prompts disabled 2022-04-29T19:05:31.8258942Z fatal: Cannot prompt because user interactivity has been disabled. 2022-04-29T19:05:32.1624600Z fatal: Cannot prompt because user interactivity has been disabled. 2022-04-29T19:05:32.1775187Z fatal: could not read Password for 'https://$(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)@github.com': terminal prompts disabled 2022-04-29T19:05:33.5982532Z fatal: Cannot prompt because user interactivity has been disabled. 2022-04-29T19:05:33.9725637Z fatal: Cannot prompt because user interactivity has been disabled. 2022-04-29T19:05:33.9856390Z fatal: could not read Password for 'https://$(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)@github.com': terminal prompts disabled 2022-04-29T19:05:34.0177365Z ##[section]Finishing: gitsync