Merge pull request #9792 from kuangp/fix/githubPrAction

fix(githubPrAction): properly construct repoUrl
This commit is contained in:
Ben Lambert
2022-02-25 07:22:24 +01:00
committed by GitHub
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,
});