diff --git a/.github/.ubiquity-os.config.yml b/.github/.ubiquity-os.config.yml index 95c3eee0..d73175fd 100644 --- a/.github/.ubiquity-os.config.yml +++ b/.github/.ubiquity-os.config.yml @@ -45,76 +45,277 @@ plugins: enabled: true formattingEvaluator: multipliers: - - role: [ISSUE_SPECIFICATION] + - role: + - ISSUE_SPECIFICATION multiplier: 3 rewards: - regex: - "\\b\\w+\\b": 0.1 + wordValue: 0.1 html: - br: 0 - code: 5 - p: 1 - em: 0 - img: 5 - strong: 0 - blockquote: 0 - h1: 1 - h2: 1 - h3: 1 - h4: 1 - h5: 1 - h6: 1 - a: 5 - li: 1 - td: 1 - hr: 0 - - role: [ISSUE_AUTHOR] + br: + score: 0 + countWords: true + code: + score: 5 + countWords: false + p: + score: 0 + countWords: true + em: + score: 0 + countWords: true + img: + score: 5 + countWords: true + strong: + score: 0 + countWords: false + blockquote: + score: 0 + countWords: false + h1: + score: 1 + countWords: true + h2: + score: 1 + countWords: true + h3: + score: 1 + countWords: true + h4: + score: 1 + countWords: true + h5: + score: 1 + countWords: true + h6: + score: 1 + countWords: true + a: + score: 5 + countWords: true + li: + score: 0.5 + countWords: true + ul: + score: 1 + countWords: true + td: + score: 0 + countWords: true + hr: + score: 0 + countWords: true + pre: + score: 0 + countWords: false + ol: + score: 1 + countWords: true + - role: + - ISSUE_AUTHOR + - ISSUE_COLLABORATOR + - PULL_COLLABORATOR multiplier: 1 rewards: - regex: - "\\b\\w+\\b": 0.2 - - role: [ISSUE_ASSIGNEE] - multiplier: 1 - rewards: - regex: - "\\b\\w+\\b": 0.1 - - role: [ISSUE_COLLABORATOR] - multiplier: 1 - rewards: - regex: - "\\b\\w+\\b": 0.1 - - role: [ISSUE_CONTRIBUTOR] + wordValue: 0.1 + html: + br: + score: 0 + countWords: true + code: + score: 5 + countWords: false + p: + score: 0 + countWords: true + em: + score: 0 + countWords: true + img: + score: 5 + countWords: true + strong: + score: 0 + countWords: false + blockquote: + score: 0 + countWords: false + h1: + score: 1 + countWords: true + h2: + score: 1 + countWords: true + h3: + score: 1 + countWords: true + h4: + score: 1 + countWords: true + h5: + score: 1 + countWords: true + h6: + score: 1 + countWords: true + a: + score: 5 + countWords: true + li: + score: 0.5 + countWords: true + ul: + score: 1 + countWords: true + td: + score: 0 + countWords: true + hr: + score: 0 + countWords: true + pre: + score: 0 + countWords: false + ol: + score: 1 + countWords: true + - role: + - ISSUE_CONTRIBUTOR + - PULL_CONTRIBUTOR multiplier: 0.25 rewards: - regex: - "\\b\\w+\\b": 0.1 - - role: [PULL_SPECIFICATION] - multiplier: 0 - rewards: - regex: - "\\b\\w+\\b": 0 - - role: [PULL_AUTHOR] + wordValue: 0.1 + html: + br: + score: 0 + countWords: true + code: + score: 5 + countWords: false + p: + score: 0 + countWords: true + em: + score: 0 + countWords: true + img: + score: 5 + countWords: true + strong: + score: 0 + countWords: false + blockquote: + score: 0 + countWords: false + h1: + score: 1 + countWords: true + h2: + score: 1 + countWords: true + h3: + score: 1 + countWords: true + h4: + score: 1 + countWords: true + h5: + score: 1 + countWords: true + h6: + score: 1 + countWords: true + a: + score: 5 + countWords: true + li: + score: 0.5 + countWords: true + ul: + score: 1 + countWords: true + td: + score: 0 + countWords: true + hr: + score: 0 + countWords: true + pre: + score: 0 + countWords: false + ol: + score: 1 + countWords: true + - role: + - PULL_SPECIFICATION + - PULL_AUTHOR + - ISSUE_ASSIGNEE + - PULL_ASSIGNEE multiplier: 0 rewards: - regex: - "\\b\\w+\\b": 0.2 - - role: [PULL_ASSIGNEE] - multiplier: 1 - rewards: - regex: - "\\b\\w+\\b": 0.1 - - role: [PULL_COLLABORATOR] - multiplier: 1 - rewards: - regex: - "\\b\\w+\\b": 0.1 - - role: [PULL_CONTRIBUTOR] - multiplier: 0.25 - rewards: - regex: - "\\b\\w+\\b": 0.1 - permitGeneration: - enabled: true + wordValue: 0 + html: + br: + score: 0 + countWords: true + code: + score: 5 + countWords: false + p: + score: 0 + countWords: true + em: + score: 0 + countWords: true + img: + score: 5 + countWords: true + strong: + score: 0 + countWords: false + blockquote: + score: 0 + countWords: false + h1: + score: 1 + countWords: true + h2: + score: 1 + countWords: true + h3: + score: 1 + countWords: true + h4: + score: 1 + countWords: true + h5: + score: 1 + countWords: true + h6: + score: 1 + countWords: true + a: + score: 5 + countWords: true + li: + score: 0.5 + countWords: true + ul: + score: 1 + countWords: true + td: + score: 0 + countWords: true + hr: + score: 0 + countWords: true + pre: + score: 0 + countWords: false + ol: + score: 1 + countWords: true + permitGeneration: {} githubComment: post: true debug: false