This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
generated from ubiquity/ts-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from ubiquibot/development
Merge development into main
- Loading branch information
Showing
27 changed files
with
1,411 additions
and
542 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
price-multiplier: 1.5 | ||
command-settings: | ||
- name: start | ||
enabled: false | ||
# newContributorGreeting: | ||
# enabled: true | ||
# header: "Thank you for contributing to UbiquiBot! Please be sure to set your wallet address before completing your first bounty so that the automatic payout upon task completion will work for you." | ||
# helpMenu: true | ||
# footer: "###### Also please star this repository and [@ubiquity/devpool-directory](https://github.com/ubiquity/devpool-directory/) to show your support. It helps a lot!" | ||
|
||
incentives: | ||
enabled: true | ||
contentEvaluator: | ||
enabled: true | ||
userExtractor: | ||
enabled: true | ||
redeemTask: true | ||
dataPurge: | ||
enabled: true | ||
formattingEvaluator: | ||
enabled: true | ||
scores: | ||
br: 0 | ||
code: 1 | ||
p: 1 | ||
em: 0 | ||
img: 0 | ||
strong: 0 | ||
blockquote: 0 | ||
h1: 1 | ||
h2: 1 | ||
h3: 1 | ||
h4: 1 | ||
h5: 1 | ||
h6: 1 | ||
a: 1 | ||
li: 1 | ||
td: 1 | ||
hr: 0 | ||
multipliers: | ||
- type: [ ISSUE, ISSUER, SPECIFICATION ] | ||
formattingMultiplier: 1 | ||
wordValue: 0.1 | ||
- type: [ ISSUE, ISSUER, COMMENTED ] | ||
formattingMultiplier: 1 | ||
wordValue: 0.2 | ||
- type: [ ISSUE, ASSIGNEE, COMMENTED ] | ||
formattingMultiplier: 0 | ||
wordValue: 0 | ||
- type: [ ISSUE, COLLABORATOR, COMMENTED ] | ||
formattingMultiplier: 1 | ||
wordValue: 0.1 | ||
- type: [ ISSUE, CONTRIBUTOR, COMMENTED ] | ||
formattingMultiplier: 0.25 | ||
wordValue: 0.1 | ||
- type: [ REVIEW, ISSUER, TASK ] | ||
formattingMultiplier: 0 | ||
wordValue: 0 | ||
- type: [ REVIEW, ISSUER, COMMENTED ] | ||
formattingMultiplier: 2 | ||
wordValue: 0.2 | ||
- type: [ REVIEW, ASSIGNEE, COMMENTED ] | ||
formattingMultiplier: 1 | ||
wordValue: 0.1 | ||
- type: [ REVIEW, COLLABORATOR, COMMENTED ] | ||
formattingMultiplier: 1 | ||
wordValue: 0.1 | ||
- type: [ REVIEW, CONTRIBUTOR, COMMENTED ] | ||
formattingMultiplier: 0.25 | ||
wordValue: 0.1 | ||
permitGeneration: | ||
enabled: true | ||
githubComment: | ||
enabled: true | ||
post: true | ||
debug: false | ||
|
||
plugins: | ||
'issues.closed': | ||
- uses: | ||
- plugin: ubiquity/conversation-rewards@testing/ubiquibot-v2-testing | ||
type: github | ||
with: | ||
evmNetworkId: 100 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ name: Spell Check | |
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
spellcheck: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ coverage | |
coverage.txt | ||
|
||
dist | ||
junit.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
export enum CommentType { | ||
/** | ||
* Review related item | ||
*/ | ||
REVIEW = 0b1, | ||
/** | ||
* Issue related item | ||
*/ | ||
ISSUE = 0b10, | ||
/** | ||
* User assigned to the {@link CommentType.ISSUE} or {@link CommentType.REVIEW} | ||
*/ | ||
ASSIGNEE = 0b100, | ||
/** | ||
* The author of the {@link CommentType.ISSUE} or {@link CommentType.REVIEW} | ||
*/ | ||
ISSUER = 0b1000, | ||
/** | ||
* A user that is part of the organization or owner of the repo | ||
*/ | ||
COLLABORATOR = 0b10000, | ||
/** | ||
* A user that is NOT part of the organization nor owner of the repo | ||
*/ | ||
CONTRIBUTOR = 0b100000, | ||
/** | ||
* A user comment action on a {@link CommentType.ISSUE} or {@link CommentType.REVIEW} | ||
*/ | ||
COMMENTED = 0b1000000, | ||
/** | ||
* Pull request opening item | ||
*/ | ||
TASK = 0b10000000, | ||
/** | ||
* Issue opening item | ||
*/ | ||
SPECIFICATION = 0b100000000, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Type, Static } from "@sinclair/typebox"; | ||
|
||
export const baseIncentiveConfiguration = Type.Object({ | ||
/** | ||
* Enables or disabled this module | ||
*/ | ||
enabled: Type.Boolean({ default: true }), | ||
}); | ||
|
||
export type BaseConfiguration = Static<typeof baseIncentiveConfiguration>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Static, Type } from "@sinclair/typebox"; | ||
|
||
export const contentEvaluatorConfigurationType = Type.Object({ | ||
/** | ||
* Enables or disabled this module | ||
*/ | ||
enabled: Type.Boolean(), | ||
}); | ||
|
||
export type ContentEvaluatorConfiguration = Static<typeof contentEvaluatorConfigurationType>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Type, Static } from "@sinclair/typebox"; | ||
|
||
export const dataPurgeConfigurationType = Type.Object({ | ||
/** | ||
* Enables or disabled this module | ||
*/ | ||
enabled: Type.Boolean({ default: true }), | ||
}); | ||
|
||
export type DataPurgeConfiguration = Static<typeof dataPurgeConfigurationType>; |
Oops, something went wrong.