From 960408e9de50045c9173eda5c5db415c01cb3bb2 Mon Sep 17 00:00:00 2001 From: Billy Michael Date: Mon, 1 Apr 2024 14:25:11 +0100 Subject: [PATCH] chore: improve consistency of all publish action examples Signed-off-by: Billy Michael --- .../src/actions/github.examples.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/scaffolder-backend-module-github/src/actions/github.examples.ts b/plugins/scaffolder-backend-module-github/src/actions/github.examples.ts index 65f2ccdaa3..b558e4904d 100644 --- a/plugins/scaffolder-backend-module-github/src/actions/github.examples.ts +++ b/plugins/scaffolder-backend-module-github/src/actions/github.examples.ts @@ -20,7 +20,7 @@ import yaml from 'yaml'; export const examples: TemplateExample[] = [ { description: - 'Initializes a git repository of contents in workspace and publish it to GitHub with default configuration.', + 'Initializes a git repository of the content in the workspace, and publishes it to Github with the default confiiguration.', example: yaml.stringify({ steps: [ { @@ -35,7 +35,7 @@ export const examples: TemplateExample[] = [ }), }, { - description: 'Add a description.', + description: 'Initializes a Github repository with a description.', example: yaml.stringify({ steps: [ { @@ -51,7 +51,8 @@ export const examples: TemplateExample[] = [ }), }, { - description: 'Change visibility of the repository.', + description: + 'Initializes a Github repository with public repo visibility, if not set defaults to private', example: yaml.stringify({ steps: [ { @@ -60,7 +61,6 @@ export const examples: TemplateExample[] = [ name: 'Publish to GitHub', input: { repoUrl: 'github.com?repo=repo&owner=owner', - description: 'Initialize a git repository', repoVisibility: 'public', }, },