Skip to content

Commit a62bcaa

Browse files
author
Rodrigo Navarro
committed
v2 (feature): Add label key to Jira flow
1 parent 0fb4ab8 commit a62bcaa

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.cmf.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,13 @@ PROMPT:
2121
DESC: "Documentation only changes"
2222
- KEY: "MESSAGE"
2323
LABEL: "Commit message"
24-
TEMPLATE: "{{JIRA-TASK}} ({{CHANGE}}): {{MESSAGE}}"
24+
- KEY: "LABEL"
25+
LABEL: "Label"
26+
OPTIONS:
27+
- VALUE: ""
28+
DESC: "No label"
29+
- VALUE: "[CI SKIP]"
30+
DESC: "Skip continous integration pipeline"
31+
- VALUE: "[WIP]"
32+
DESC: "Work In Progress"
33+
TEMPLATE: "{{JIRA-TASK}} ({{CHANGE}}): {{MESSAGE}}{{LABEL}}"

configs/jira.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,13 @@ PROMPT:
2121
DESC: "Documentation only changes"
2222
- KEY: "MESSAGE"
2323
LABEL: "Commit message"
24-
TEMPLATE: "{{JIRA-TASK}} ({{CHANGE}}): {{MESSAGE}}"
24+
- KEY: "LABEL"
25+
LABEL: "Label"
26+
OPTIONS:
27+
- VALUE: ""
28+
DESC: "No label"
29+
- VALUE: "[CI SKIP]"
30+
DESC: "Skip continous integration pipeline"
31+
- VALUE: "[WIP]"
32+
DESC: "Work In Progress"
33+
TEMPLATE: "{{JIRA-TASK}} ({{CHANGE}}): {{MESSAGE}}{{LABEL}}"

packrd/packed-packr.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)