Skip to content

Commit db4f5cc

Browse files
yugasunxuexb
authored andcommitted
feat: Add ACTION_TO_LABEL_MAP (#11)
1 parent deb9f42 commit db4f5cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/pull_request/titlePrefixToLabel.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const getAction = title => {
1414

1515
const ACTION_TO_LABEL_MAP = {
1616
feat: 'enhancement',
17-
fix: 'bug'
17+
fix: 'bug',
18+
docs: 'document'
1819
};
1920

2021
const handle = ({payload, repo}) => {

0 commit comments

Comments
 (0)