Update plugins/scaffolder-backend/src/scaffolder/stages/publish/github.ts

Signed-off-by: Johan Haals johan.haals@gmail.com

Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-03-09 15:40:01 +01:00
parent 2e57922dea
commit 12cdd556e7
@@ -141,7 +141,7 @@ export class GithubPublisher implements PublisherBase {
repo: name,
permission: 'admin',
});
// no need to add access if it's the person who own's the personal account
// no need to add access if it's the person who owns the personal account
} else if (access && access !== owner) {
await client.repos.addCollaborator({
owner,