Add nebula-preview

Signed-off-by: Tim Hansen <timbonicus@gmail.com>
This commit is contained in:
Tim Hansen
2021-04-27 11:04:07 -06:00
parent 61fdfd70a3
commit a1783f3060
3 changed files with 7 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Added the `nebula-preview` preview to `Octokit` for repository visibility.
@@ -149,6 +149,7 @@ export function createPublishGithubAction(options: {
const client = new Octokit({
auth: token,
baseUrl: integrationConfig.config.apiBaseUrl,
previews: ['nebula-preview'],
});
const user = await client.users.getByUsername({
@@ -72,6 +72,7 @@ export class GithubPublisher implements PublisherBase {
const client = new Octokit({
auth: token,
baseUrl: this.config.apiBaseUrl,
previews: ['nebula-preview'],
});
const description = values.description as string;