Skip to content

Commit 1f147a6

Browse files
committed
Add logging for which auth in use.
1 parent 3588109 commit 1f147a6

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

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

0 commit comments

Comments
 (0)