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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user