Update plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/helpers.ts
Co-authored-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com> Signed-off-by: Joe Roberto <91907455+robertoj921@users.noreply.github.com>
This commit is contained in:
committed by
Joseph Roberto
parent
c835069af3
commit
cbb346d55f
@@ -136,6 +136,7 @@ export const getGitAuth = async (config: {
|
||||
|
||||
// Username + API token (new method)
|
||||
// For git operations, use the static username 'x-bitbucket-api-token-auth'
|
||||
// https://support.atlassian.com/bitbucket-cloud/docs/using-api-tokens/
|
||||
if (config.username && config.token) {
|
||||
return {
|
||||
username: 'x-bitbucket-api-token-auth',
|
||||
|
||||
Reference in New Issue
Block a user