fix(githubPrAction): properly construct repoUrl

Signed-off-by: Phil Kuang <pkuang@factset.com>
This commit is contained in:
Phil Kuang
2022-02-24 16:01:29 -05:00
parent 4d9fb20aad
commit c7f6424a26
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Fix broken GitHub PR action due to malformed `repoUrl`
@@ -72,7 +72,7 @@ export const defaultClientFactory = async ({
const octokitOptions = await getOctokitOptions({
integrations,
credentialsProvider: githubCredentialsProvider,
repoUrl: `https://${encodedHost}/${encodedOwner}/${encodedRepo}`,
repoUrl: `${encodedHost}?owner=${encodedOwner}&repo=${encodedRepo}`,
token: providedToken,
});