Merge pull request #5024 from ebarriosjr/scaffolder-fix-github-org-visibility
Fix scaffolder backend bug with visibility for github org
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
---
|
||||
|
||||
Fixes bug in the `github:publish` action causing repositories to be set as private even if the visibility is set to internal
|
||||
@@ -126,7 +126,7 @@ export function createPublishGithubAction(options: {
|
||||
? client.repos.createInOrg({
|
||||
name: repo,
|
||||
org: owner,
|
||||
private: repoVisibility !== 'public',
|
||||
private: repoVisibility === 'private',
|
||||
visibility: repoVisibility,
|
||||
description: description,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user