Skip to content

Commit bdac80c

Browse files
committed
Add logging for which auth in use.
1 parent 1bccc80 commit bdac80c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

actions/sequester/ImportIssues/Program.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@ private static async Task<QuestGitHubService> CreateService(ImportOptions option
114114
throw new InvalidOperationException("Azure DevOps token is missing.");
115115
}
116116

117+
if (useBearerToken)
118+
{
119+
Console.WriteLine("Using Bearer token for Azure DevOps.");
120+
}
121+
else
122+
{
123+
Console.WriteLine("Using PAT token for Azure DevOps.");
124+
}
117125
return new QuestGitHubService(
118126
gitHubClient,
119127
ospoClient,

0 commit comments

Comments
 (0)