Skip to content

Commit 8d4d6ac

Browse files
committed
Add logging for which auth in use.
1 parent 2b9cb51 commit 8d4d6ac

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
@@ -115,6 +115,14 @@ private static async Task<QuestGitHubService> CreateService(ImportOptions option
115115
throw new InvalidOperationException("Azure DevOps token is missing.");
116116
}
117117

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

0 commit comments

Comments
 (0)