diff --git a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/publish/github.ts b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/publish/github.ts index 2e5fc2091f..f238314534 100644 --- a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/publish/github.ts +++ b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/publish/github.ts @@ -271,7 +271,7 @@ export function createPublishGithubAction(options: { assertError(e); if (e.message === 'Resource not accessible by integration') { ctx.logger.warn( - 'The GitHub app or token provided to Backstage may not have the required permissions to create the repository.', + `The GitHub app or token provided may not have the required permissions to create the ${user.data.type} repository ${owner}/${repo}.`, ); } throw new Error(