fix(scaffolder,bitbucket): support custom defaultBranch for Bitbucket Cloud

Before this change, the returned `repoContentsUrl` of this scaffolder action
was hardcoded to branch `master` which is the default value for `defaultBranch`.

The change will ensure to use the provided value instead.

Closes: #9759

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
This commit is contained in:
Patrick Jungermann
2022-02-25 00:14:29 +01:00
parent 3d94a70270
commit 8119a9e011
3 changed files with 54 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Fix the support for custom defaultBranch values for Bitbucket Cloud at the `publish:bitbucket` scaffolder action.