fixup! Add provider name annotation to PAT secret

pull/670/head
ivinokur 2024-03-20 12:13:28 +02:00
parent 998a696033
commit d16e72b395
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ public abstract class AbstractGithubPersonalAccessTokenFetcher
isValid(
new PersonalAccessTokenParams(
scmServerUrl,
// Despite the fact that we may have two GitHub oauth providers, we always set
// "github" to the token provider name. The specific GitHub oauth provider
// references to the specific token by the url parameter.
OAUTH_PROVIDER_NAME,
tokenName,
tokenId,