add example for ff merge and squash
Signed-off-by: Zhi Liang <zliang@roku.com>
This commit is contained in:
@@ -87,6 +87,25 @@ export const examples: TemplateExample[] = [
|
||||
],
|
||||
}),
|
||||
},
|
||||
{
|
||||
description: 'Initializes a GitLab repository with fast forward merge and always squash settings.',
|
||||
example: yaml.stringify({
|
||||
steps: [
|
||||
{
|
||||
id: 'publish',
|
||||
action: 'publish:gitlab',
|
||||
name: 'Publish to GitLab',
|
||||
input: {
|
||||
repoUrl: 'gitlab.com?repo=project_name&owner=group_name',
|
||||
settings: {
|
||||
merge_method: 'ff',
|
||||
squash_option: 'always',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}),
|
||||
},
|
||||
{
|
||||
description: 'Initializes a GitLab repository with branch settings.',
|
||||
example: yaml.stringify({
|
||||
|
||||
Reference in New Issue
Block a user