From 09fba98f84fb9a0e85b8ea3760bbf7a9024249ed Mon Sep 17 00:00:00 2001 From: rndquu <119500907+rndquu@users.noreply.github.com> Date: Fri, 13 Sep 2024 18:28:05 +0300 Subject: [PATCH] chore: create .ubiquibot-config.yml --- .github/.ubiquibot-config.yml | 92 +++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 .github/.ubiquibot-config.yml diff --git a/.github/.ubiquibot-config.yml b/.github/.ubiquibot-config.yml new file mode 100644 index 00000000..96fe9bc4 --- /dev/null +++ b/.github/.ubiquibot-config.yml @@ -0,0 +1,92 @@ +plugins: + - skipBotEvents: false + uses: + - plugin: ubiquibot/conversation-rewards@development + # we don't skip bot events so conversation rewards triggered by the bot also run + with: + evmNetworkId: 1 + evmPrivateEncrypted: "bd5AFnSCO6c5jJyPifpOfr5Zys29RE7SyXkEU3akT13RtGmYDrqGIGuvJQyH53HA5dIba7PL5bXfll0JebmwXYe5gHIXSGX80WuGMDHh0cFfeGjHhmUXe8kkZ1OT2De9qRpqejJcEzdfi-8XNAvP7cQu2Vt-7RNnPw" # https://github.com/ubiquibot/conversation-rewards/pull/111#issuecomment-2348639931 + erc20RewardToken: "0xb6919Ef2ee4aFC163BC954C5678e2BB570c2D103" + incentives: + contentEvaluator: + enabled: true + userExtractor: + enabled: true + redeemTask: true + dataPurge: + enabled: true + formattingEvaluator: + multipliers: + - role: [ ISSUE_SPECIFICATION ] + multiplier: 3 + rewards: + regex: + "\\b\\w+\\b": 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 ] + 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 ] + multiplier: 0.25 + rewards: + regex: + "\\b\\w+\\b": 0.1 + - role: [ PULL_SPECIFICATION ] + multiplier: 0 + rewards: + regex: + "\\b\\w+\\b": 0 + - role: [ PULL_AUTHOR ] + 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 + githubComment: + post: true + debug: false