Skip to content

Commit 5c748fa

Browse files
author
Rodrigo Navarro
committed
no-story (refactor): Add custom flow file and add options to default flows
1 parent 01a7876 commit 5c748fa

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

configs/custom.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
PROMPT:
2+
- KEY: "CHANGE"
3+
LABEL: "Type of change:"
4+
OPTIONS:
5+
- VALUE: "feature"
6+
DESC: "Add new feature"
7+
- VALUE: "fix"
8+
DESC: "A bug fix"
9+
- VALUE: "test"
10+
DESC: "Adding missing tests or correcting ones"
11+
- VALUE: "style"
12+
DESC: "A code change to improve clean code"
13+
- VALUE: "build-ci"
14+
DESC: "Changes on the build system or CI files"
15+
- VALUE: "refactor"
16+
DESC: "A code change"
17+
- VALUE: "docs"
18+
DESC: "Documentation only changes"
19+
- KEY: "MODULE"
20+
LABEL: "Affected module"
21+
- KEY: "MESSAGE"
22+
LABEL: "Commit message"
23+
TEMPLATE: "Create your own template or options {{CHANGE}}({{MODULE}}): {{MESSAGE}}"

configs/default.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PROMPT:
22
- KEY: "CHANGE"
3-
LABEL: "Select the type of change:"
3+
LABEL: "Type of change:"
44
OPTIONS:
55
- VALUE: "feature"
66
DESC: "Add new feature"

configs/jira.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
PROMPT:
22
- KEY: "JIRA-TASK"
3-
LABEL: "Jira task ID"
3+
LABEL: "Jira task ID (no-story)"
4+
DEFAULT_VALUE: "no-story"
45
- KEY: "CHANGE"
5-
LABEL: "Select the type of change:"
6+
LABEL: "Type of change:"
67
OPTIONS:
78
- VALUE: "feature"
89
DESC: "Add new feature"

0 commit comments

Comments
 (0)