Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #9

Open
wants to merge 769 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
769 commits
Select commit Hold shift + click to select a range
41ce93f
feat: read from env
EtherealGlow Aug 24, 2023
d8cfe7e
feat: read from env
EtherealGlow Aug 24, 2023
bb4ea82
Merge pull request #616 from gitcoindev/refactor-issue-creator-multip…
0x4007 Aug 25, 2023
47ebcd5
Merge branch 'development' into private-key-empty-error
0x4007 Aug 25, 2023
3e40c9c
Merge branch 'development' into automatically_derive_weight
0x4007 Aug 25, 2023
66b0b9b
Merge branch 'development' into feat/incentive-for-pr-reviewer
wannacfuture Aug 25, 2023
84c9097
chore: remove worker functions from exclude
devpanther Aug 25, 2023
87972b1
Merge branch 'development' into realtime-logger-app
devpanther Aug 25, 2023
0f9f3d6
Merge pull request #649 from devpanther/realtime-logger-app
0x4007 Aug 25, 2023
54f0273
Merge branch 'development' into feat/incentive-for-pr-reviewer
wannacfuture Aug 25, 2023
66d2d7b
feat: slight change
wannacfuture Aug 25, 2023
70ca321
fix: stale bounty
Keyrxng Aug 25, 2023
d2e48aa
feat: read from env
EtherealGlow Aug 26, 2023
54e97b2
Merge pull request #662 from ubiquity/development
0xcodercrane Aug 26, 2023
756bff3
Merge branch 'development' into private-key-empty-error
Sadaf-A Aug 26, 2023
9c50296
Merge branch 'development' into development-2
0x4007 Aug 26, 2023
e65672b
Merge pull request #639 from EtherealGlow/development-2
0x4007 Aug 26, 2023
dead5a6
Merge branch 'development' into private-key-empty-error
0x4007 Aug 26, 2023
27205c3
Merge pull request #621 from ubiquity-whilefoo/db-fix
0x4007 Aug 26, 2023
0c57588
Merge pull request #582 from Sadaf-A/private-key-empty-error
whilefoo Aug 26, 2023
f03df47
fix: change time to fix migration error
whilefoo Aug 26, 2023
fb1599b
Merge pull request #627 from byteballet/automatically_derive_weight
whilefoo Aug 26, 2023
879d066
Merge pull request #671 from ubiquity-whilefoo/db-fix-2
0x4007 Aug 26, 2023
64e7d3f
Merge branch 'development' of https://github.com/ubiquity/ubiquibot i…
0x4007 Aug 26, 2023
517a3e5
fix: requested changes made
Keyrxng Aug 26, 2023
5a38700
fix: pulls from default
Keyrxng Aug 26, 2023
5a41966
fix: remove console log
Keyrxng Aug 26, 2023
09ead61
Update ubiquibot-config.yml
0x4007 Aug 27, 2023
cef102d
refactor: remove redundant properties
0x4007 Aug 27, 2023
ef6e27e
refactor: this will also be controlled by org config
0x4007 Aug 27, 2023
2e667f8
Update ubiquibot-config.yml
0x4007 Aug 27, 2023
b464715
Merge pull request #678 from ubiquity/pavlovcik-patch-3
0x4007 Aug 27, 2023
8f36fbd
Merge pull request #677 from ubiquity/pavlovcik-patch-2
0x4007 Aug 27, 2023
5ef5f44
feat: check for Duplicate Specs (#608)
Nick-Legend Aug 27, 2023
dda1cbb
fix: getBotConfig instead of loadConfig
whilefoo Aug 27, 2023
bdb6917
feat: log config errors
whilefoo Aug 27, 2023
0aecb85
feat: logs cleaner
Steveantor Aug 27, 2023
01fb817
feat: validate config on push event
whilefoo Aug 28, 2023
7be4768
feat: find correct commit hash
whilefoo Aug 28, 2023
a6cf47e
feat: log invalid config
whilefoo Aug 28, 2023
5a61607
feat: list unnecessary properties
whilefoo Aug 28, 2023
b1250cd
fix: additional properties
whilefoo Aug 28, 2023
e4d5249
Merge branch 'development' into feat/incentive-for-pr-reviewer
wannacfuture Aug 28, 2023
5ec2d6a
feat: get correct linked pull request
wannacfuture Aug 28, 2023
d0f1b06
feat: check the organization and repo name
wannacfuture Aug 28, 2023
ab85a52
feat: add to codeowners
0xcodercrane Aug 29, 2023
9e53e1a
feat: add cron migration
Steveantor Aug 29, 2023
031b67e
feat: Logs Cleaner (#683)
0xcodercrane Aug 29, 2023
0109700
Merge branch 'development' into feat/incentive-for-pr-reviewer
wannacfuture Aug 29, 2023
6771daa
feat: exploit issue resolved
0xcodercrane Aug 29, 2023
5a0f18e
Merge branch 'development' into feat/incentive-for-pr-reviewer
wannacfuture Aug 29, 2023
743a477
chore: merged repo and org config
devpanther Aug 29, 2023
d0a7f79
fix: update CODEOWNERS
0xcodercrane Aug 30, 2023
907b758
chore: merge default,repo and org
devpanther Aug 30, 2023
7d5a63b
Merge branch 'development' into config-nested-inheritance
devpanther Aug 30, 2023
7bbdada
chore: re-arrange order to use repo first
devpanther Aug 30, 2023
5415213
chore: re-arrange order to use repo first
devpanther Aug 30, 2023
39e2143
Update src/utils/private.ts
devpanther Aug 30, 2023
646d4b8
Update src/utils/private.ts
devpanther Aug 30, 2023
7f1dfc9
fix: run validate config if error loading config on push event
whilefoo Aug 30, 2023
3067822
Merge branch 'development' of https://github.com/ubiquity/ubiquibot i…
0x4007 Aug 31, 2023
3addf7a
feat: minor regex fix
wannacfuture Aug 31, 2023
f1edaba
Merge pull request #694 from wannacfuture/feature/label-set-hotfix
0xcodercrane Aug 31, 2023
67a178b
feat: minor regex fix
wannacfuture Aug 31, 2023
b3b2dea
fix: filter then map
whilefoo Aug 31, 2023
7f0b545
feat: default to true
0xcodercrane Aug 31, 2023
8beb943
feat: default to true
0xcodercrane Aug 31, 2023
29008f2
feat: more
0xcodercrane Aug 31, 2023
5d3ccd2
feat: more
0xcodercrane Aug 31, 2023
65f2920
Revert "feat: more"
0xcodercrane Aug 31, 2023
472a822
feat: revert of default to true
0xcodercrane Aug 31, 2023
07cf8ae
feat: access control config (#696)
whilefoo Aug 31, 2023
ba9aab1
Revert "feat: more"
0xcodercrane Aug 31, 2023
fac735b
feat: revert of default to true
0xcodercrane Aug 31, 2023
9cfc6fa
feat: comment incentives nonce (#692)
devpanther Sep 1, 2023
db00b83
feat: toggle permit generation by external (#697)
web4er Sep 1, 2023
9d45aab
fix: enable assistive pricing when enable-access-control.label is dis…
rndquu Sep 1, 2023
434a9a2
Merge branch 'main' into development
0xcodercrane Sep 1, 2023
a964015
feat: support minute labels
rndquu Sep 1, 2023
6a1b4f9
Merge pull request #702 from rndquu/feat/support-minute-labels
0xcodercrane Sep 1, 2023
3eaedcc
feat: apply price label
0xcodercrane Sep 1, 2023
eb1d942
feat: display permission level in /query
EtherealGlow Sep 2, 2023
f2a684b
feat: disable bot follow up for pending reviews
EtherealGlow Sep 2, 2023
034c960
Merge remote-tracking branch 'upstream/development' into config-valid…
whilefoo Sep 2, 2023
3dcda23
Merge branch 'development' into config-nested-inheritance
devpanther Sep 2, 2023
c86011c
feat: display access level in /query
EtherealGlow Sep 3, 2023
cf55a97
feat: display access level in /query
EtherealGlow Sep 3, 2023
9b8a28e
Merge branch 'development' into feat/incentive-for-pr-reviewer
wannacfuture Sep 4, 2023
8ce9053
feat: fix for nonse in incentive pr review
wannacfuture Sep 4, 2023
3f27933
Merge branch 'feat/incentive-for-pr-reviewer' of https://github.com/w…
wannacfuture Sep 4, 2023
2709407
feat: display access levels in /query
EtherealGlow Sep 4, 2023
7fd7d3b
fix: warning header
Keyrxng Sep 5, 2023
dc1d7ec
fix: ignore param order for allow
Nick-Legend Sep 5, 2023
4d98c13
fix: ignore param order for allow
Nick-Legend Sep 5, 2023
74d1b4a
fix: check both pr and issue to verify first comment
Nick-Legend Sep 5, 2023
2855d0b
fix: config extraction
Keyrxng Sep 5, 2023
03a78ac
Merge branch 'development' into start-disclaimer
Keyrxng Sep 5, 2023
5eb7709
feat: disable bot follow up for pending reviews
EtherealGlow Sep 6, 2023
9479e62
feat: display access levels in /query
EtherealGlow Sep 6, 2023
ab87dd4
feat: display access levels in /query
EtherealGlow Sep 6, 2023
467d7eb
fix: update method for params
Nick-Legend Sep 6, 2023
7078549
Merge pull request #722 from byteballet/allow_parameter_order
whilefoo Sep 6, 2023
2f0631c
Merge branch 'development' into config-nested-inheritance
whilefoo Sep 7, 2023
edbbe97
fix: conditional
Keyrxng Sep 7, 2023
87c01de
Merge pull request #691 from devpanther/config-nested-inheritance
whilefoo Sep 7, 2023
c682db7
Merge branch 'development' into start-disclaimer
whilefoo Sep 7, 2023
408a3d9
feat: display access level in /qurey
EtherealGlow Sep 7, 2023
f3e557d
fix: types
whilefoo Sep 7, 2023
5e67a76
fix: types and explicit <tr>
whilefoo Sep 7, 2023
e628f63
feat: display access level in /qurey
EtherealGlow Sep 7, 2023
747becc
chore: refactor
whilefoo Sep 7, 2023
08b7cc0
chore: refactor
whilefoo Sep 7, 2023
e108b49
Merge pull request #707 from EtherealGlow/development-2
whilefoo Sep 7, 2023
d959564
chore: reword ot comment on issues not closed as completed
BeanieMen Sep 7, 2023
807cf51
Merge pull request #724 from byteballet/multi_tutorial_msg
whilefoo Sep 7, 2023
c6ceb6c
Merge pull request #670 from Keyrxng/start-disclaimer
whilefoo Sep 7, 2023
c02596b
chore: update src/adapters/supabase/helpers/client.ts
0xcodercrane Sep 8, 2023
1f6e1be
chore: remove unused declaration (#642)
0xcodercrane Sep 8, 2023
4098d1b
Merge remote-tracking branch 'upstream/development' into config-valid…
whilefoo Sep 8, 2023
4196f30
fix: skip zero penalty
Keyrxng Sep 8, 2023
0cbf188
fix: error diff
Keyrxng Sep 8, 2023
bea4bf6
Merge branch 'development' into commentTweaks
Keyrxng Sep 8, 2023
e3529bb
fix: rendering
Keyrxng Sep 8, 2023
bfb2654
fix: rendering
Keyrxng Sep 8, 2023
b1e7232
feat: disable bot follow up if there are pending reviews
EtherealGlow Sep 8, 2023
54b1a8b
feat: disable bot reveiw on pending reviews
EtherealGlow Sep 8, 2023
79e5f58
feat: disable bot follow up on pending reviews
EtherealGlow Sep 8, 2023
683a681
feat: disable bot follow up on pending reviews
EtherealGlow Sep 8, 2023
1329f12
fix: table comment
Keyrxng Sep 9, 2023
bc2c4fd
fix: default
Keyrxng Sep 9, 2023
678551f
Update src/helpers/issue.ts
EtherealGlow Sep 9, 2023
542c429
feat: disable bot follow up on pending reviews
EtherealGlow Sep 9, 2023
d31ec44
feat: disable bot follow up for pending reviews
EtherealGlow Sep 9, 2023
c5a181d
Merge pull request #708 from EtherealGlow/development-3
whilefoo Sep 10, 2023
08a2dfb
Merge pull request #733 from me505/development
whilefoo Sep 10, 2023
9f398e6
Update ubiquibot-config.yml
0x4007 Sep 10, 2023
2e60e47
Merge branch 'development' of https://github.com/pavlovcik/ubiquibot …
0x4007 Sep 10, 2023
4d8ee35
chore: update lock file
0x4007 Sep 10, 2023
7c3d866
Merge branch 'development' of https://github.com/ubiquity/ubiquibot i…
0x4007 Sep 10, 2023
0970143
Merge branch 'development' into commentTweaks
Keyrxng Sep 10, 2023
5aa2908
fix: table and check
Keyrxng Sep 10, 2023
a60a017
Fix : skipped->disabled , since -> because
baibhavKumar1 Sep 10, 2023
fcf8f52
Merge pull request #744 from Wholesomebruh/skipped
0x4007 Sep 10, 2023
6c85879
Merge branch 'development' into commentTweaks
0x4007 Sep 10, 2023
75f880e
Merge branch 'development' into commentTweaks
0x4007 Sep 10, 2023
e9cfecc
Merge pull request #736 from Keyrxng/commentTweaks
0x4007 Sep 10, 2023
4e81584
Update pull_request_template.md
0x4007 Sep 11, 2023
7a42059
Update pull_request_template.md
0x4007 Sep 11, 2023
b455c96
Merge branch 'development' into feat/incentive-for-pr-reviewer
wannacfuture Sep 12, 2023
c6b6709
feat: include comments on pr
wannacfuture Sep 12, 2023
2aa36c0
Merge remote-tracking branch 'upstream/development' into config-valid…
whilefoo Sep 12, 2023
3914532
fix: add helpers back
whilefoo Sep 12, 2023
b3667b8
Merge pull request #684 from ubiquity-whilefoo/config-validation-error
whilefoo Sep 12, 2023
6ca50a4
feat: issue creator multiplier should be optional
whilefoo Sep 12, 2023
4c666eb
Merge pull request #757 from ubiquity-whilefoo/config-hotfix
whilefoo Sep 12, 2023
7393511
Merge branch 'development' into feat/incentive-for-pr-reviewer
wannacfuture Sep 13, 2023
0414bba
feat: extract time duration with ms (#756)
wannacfuture Sep 14, 2023
0dfa520
Update config.yml
0x4007 Sep 14, 2023
cf2c9be
Update bounty-template.yml
0x4007 Sep 14, 2023
51fe4df
Merge branch 'development' into feat/incentive-for-pr-reviewer
wannacfuture Sep 14, 2023
0154b7e
Merge pull request #657 from wannacfuture/feat/incentive-for-pr-reviewer
0x4007 Sep 15, 2023
53fc6ab
fix: use bot penalty (#749)
Keyrxng Sep 18, 2023
82564f0
fix: renamed default config file (#763)
baibhavKumar1 Sep 18, 2023
8166989
feat: parse Permit Url (#738)
Sadaf-A Sep 18, 2023
e734904
fix: close pr issues and stop running handlers twice (#728)
seprintour Sep 19, 2023
dba8308
feat: add repo specific wallet support (#747)
BeanieMen Sep 19, 2023
3966177
feat: bounty rewards consolidation (#714)
devpanther Sep 21, 2023
c40efc5
feat: ask Command (#663)
Keyrxng Sep 21, 2023
bd8333d
chore: create table generator function
devpanther Sep 21, 2023
ead1bce
chore: add username to table generator
devpanther Sep 21, 2023
3c475f1
chore: setting up comment creation
devpanther Sep 21, 2023
c147852
chore: concatenate comment and clear unused
devpanther Sep 21, 2023
f308ef7
chore: check for permit existence before creation
devpanther Sep 21, 2023
8b51791
chore: add multiplier check
devpanther Sep 21, 2023
6f94653
chore: add permits to db per user id
devpanther Sep 21, 2023
e2347da
chore: switch node id to id for permit to db support
devpanther Sep 21, 2023
b251b9f
chore: fix linting
devpanther Sep 21, 2023
b417336
refactor: config Name Format (#761)
Sadaf-A Sep 22, 2023
6098308
Merge branch 'development' into multi-comment-design
devpanther Sep 22, 2023
16aaa17
fix: hotfix build
molecula451 Sep 22, 2023
5335911
feat: add first time configs (#739)
EtherealGlow Sep 22, 2023
7fc99b1
Merge branch 'development' into hotfix-build
molecula451 Sep 22, 2023
4b4c8f8
Update ubiquibot-config.yml
0x4007 Sep 23, 2023
d9f00fb
feat: add default access info
wannacfuture Sep 23, 2023
65924f5
feat: minor fix
wannacfuture Sep 23, 2023
e2a47e5
chore: add debit schema
seprintour Sep 23, 2023
b4fb5b6
Merge pull request #813 from seprintour/db-schema-debit
0x4007 Sep 23, 2023
ddad210
Merge branch 'development' into hotfix/default-access-info
0x4007 Sep 23, 2023
f41c036
Merge pull request #805 from wannacfuture/hotfix/default-access-info
0x4007 Sep 23, 2023
cd5aa99
Merge branch 'development' into hotfix-build
molecula451 Sep 23, 2023
02deb96
Merge pull request #797 from molecula451/hotfix-build
whilefoo Sep 24, 2023
97cf9b8
fix(user):
Sadaf-A Sep 24, 2023
68daa0c
chore: enable label event
seprintour Sep 24, 2023
74295ea
chore: setting up action
seprintour Sep 24, 2023
d6dfaf0
chore: modified sql query, test action
seprintour Sep 24, 2023
7ba0327
feat: initial upsert access info
wannacfuture Sep 25, 2023
750b9a5
Merge branch 'hotfix/default-access-info' of https://github.com/wanna…
wannacfuture Sep 25, 2023
fe10a95
Merge branch 'development' into hotfix/default-access-info
wannacfuture Sep 25, 2023
ebe25ab
Update query.ts
0x4007 Sep 25, 2023
544b611
Merge branch 'development' into multi-comment-design
devpanther Sep 25, 2023
eec35f5
feat: use ErrorDiff
wannacfuture Sep 25, 2023
9c0eb4b
feat: minor fix
wannacfuture Sep 25, 2023
25d79a7
Merge pull request #826 from Sadaf-A/feature/send-user-tag
0x4007 Sep 25, 2023
615d7d6
Merge branch 'development' into multi-comment-design
devpanther Sep 25, 2023
f106195
Merge branch 'development' into hotfix/default-access-info
0x4007 Sep 25, 2023
c404c0d
Merge pull request #830 from wannacfuture/hotfix/default-access-info
0x4007 Sep 25, 2023
8f37c4e
chore: get access control and act on it
seprintour Sep 25, 2023
8a31463
Merge branch 'development' into access-control-fix
seprintour Sep 25, 2023
141ec91
fix: change error message
seprintour Sep 25, 2023
95a7952
fix: remove _at suffix
seprintour Sep 25, 2023
3c83d93
Merge remote-tracking branch 'ubiquibot/development' into development
0x4007 Sep 25, 2023
e1c3988
chore: add approve command
seprintour Sep 25, 2023
6475180
Merge branch 'development' into feat/cspell
0x4007 Sep 25, 2023
dbb4e27
chore: only fetch unapproved label changes
seprintour Sep 25, 2023
5c28de8
Update src/handlers/comment/handlers/approve.ts
0x4007 Sep 25, 2023
18d1f70
Update src/handlers/comment/handlers/index.ts
0x4007 Sep 25, 2023
804766f
chore: approve to authorize
seprintour Sep 25, 2023
290a283
Update conventional-commits.yml
0x4007 Sep 25, 2023
e605a0f
Merge pull request #829 from seprintour/access-control-fix
0x4007 Sep 25, 2023
71bc0d7
chore: setting up necessary env
seprintour Sep 26, 2023
81ec485
chore: setting up bindings
seprintour Sep 26, 2023
2651c0a
chore: setup logger function
seprintour Sep 26, 2023
ef1c04c
chore: testing notification
seprintour Sep 26, 2023
496addc
chore: adding context to notification
seprintour Sep 26, 2023
baed646
fix: promise async errors
seprintour Sep 26, 2023
960e991
Merge pull request #643 from pavlovcik/feat/cspell
0x4007 Sep 26, 2023
d250fd1
chore: console log to logger
seprintour Sep 26, 2023
5fb71dd
Merge branch 'development' into error-notification
seprintour Sep 26, 2023
0d9b5e4
chore: throw error to reject
seprintour Sep 27, 2023
2109b26
chore: refactor code
devpanther Sep 27, 2023
444f782
Merge branch 'multi-comment-design' of https://github.com/devpanther/…
devpanther Sep 27, 2023
dcbcf7f
Merge branch 'development' into multi-comment-design
devpanther Sep 27, 2023
672a3c4
Merge pull request #794 from devpanther/multi-comment-design
0x4007 Sep 27, 2023
d712969
Merge branch 'development' into error-notification
seprintour Sep 27, 2023
e773c3b
Merge pull request #841 from seprintour/error-notification
0x4007 Sep 27, 2023
c6f79f5
fix(hot): refactor config to kebab case
rndquu Sep 28, 2023
c7896e2
chore: setting up debug table
devpanther Sep 30, 2023
970f478
chore: merge collapsible table in permit table
devpanther Sep 30, 2023
062dee5
Merge pull request #848 from devpanther/debug-comment-incentive
0x4007 Sep 30, 2023
f0b3ac9
chore: update config (#847)
molecula451 Oct 2, 2023
9d00d7f
feat: price overide (#735)
BeanieMen Oct 3, 2023
e3b4fea
chore: remove log app from ubiquibot repository (#850)
gitcoindev Oct 9, 2023
cf04ebc
feat: reply to invalid config (#852)
gitcoindev Oct 11, 2023
8df6921
feat: automated qa - unit test setup (#734)
0xcodercrane Oct 12, 2023
0dbb185
ci: ignore kebab case files for tests
rndquu Oct 12, 2023
40d836b
Merge pull request #857 from rndquu/feat/856
0x4007 Oct 12, 2023
50f346b
Revert "feat: automated qa - unit test setup (#734)"
0x4007 Oct 13, 2023
3ad77e5
Merge pull request #860 from ubiquity/revert-734-feat/unit-test
0x4007 Oct 13, 2023
bc56f77
create test action
PhantomCracker Oct 18, 2023
918c94b
create test action
PhantomCracker Oct 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"useGitignore": true,
"version": "0.2",
"language": "en",
"words": [
"autodetection",
"autopay",
"AUTOPAY",
"bucketid",
"bucketname",
"demilestoned",
"devpool",
"ensname",
"fkey",
"gelato",
"Gelato",
"gollum",
"keccak",
"libsodium",
"logdna",
"LOGDNA",
"mdast",
"Mdast",
"mergeable",
"micromark",
"milestoned",
"Numberish",
"orgname",
"pavlovcik",
"permisson",
"prereleased",
"probot",
"Probot",
"ratelimit",
"rebaseable",
"rerequested",
"scalarmult",
"signoff",
"sortcolumn",
"sortorder",
"supabase",
"Supabase",
"SUPABASE",
"svgs",
"timelabel",
"TURL",
"typebox",
"Ubiqui",
"ubiquibot",
"unarchived",
"Unassigning",
"Upserting",
"URLSAFE",
"vitalik",
"WXDAI"
]
}
14 changes: 14 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@ SUPABASE_KEY=
AUTO_PAY_MODE=
ANALYTICS_MODE=


# Use `trace` to get verbose logging or `info` to show less
LOG_LEVEL=debug
LOGDNA_INGESTION_KEY=
OPENAI_API_HOST=https://api.openai.com
OPENAI_API_KEY=
CHATGPT_USER_PROMPT_FOR_IMPORTANT_WORDS="I need your help to find important words (e.g. unique adjectives) from github issue below and I want to parse them easily so please separate them using #(No other contexts needed). Please separate the words by # so I can parse them easily. Please answer simply as I only need the important words. Here is the issue content.\n"
CHATGPT_USER_PROMPT_FOR_MEASURE_SIMILARITY='I have two github issues and I need to measure the possibility of the 2 issues are the same content (No other contents needed and give me only the number in %).\n Give me in number format and add % after the number.\nDo not tell other things since I only need the number (e.g. 85%). Here are two issues:\n 1. "%first%"\n2. "%second%"'
SIMILARITY_THRESHOLD=80
MEASURE_SIMILARITY_AI_TEMPERATURE=0
IMPORTANT_WORDS_AI_TEMPERATURE=0

# Telegram Log Notification Envs
LOG_WEBHOOK_BOT_URL= # URL of cloudflare worker without trailing /
LOG_WEBHOOK_SECRET= # Random Secret, Shared between the telegram bot and the sender
LOG_WEBHOOK_GROUP_ID= # Group Id, ex: -100124234325
LOG_WEBHOOK_TOPIC_ID= # Topic Id (Optional), Only provide if group is a topic and you're not using General
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @0xcodercrane
* @0xcodercrane
15 changes: 12 additions & 3 deletions .github/ISSUE_TEMPLATE/bounty-template.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: "Bounty Proposal"
description: Have a suggestion for how to improve UbiquiBot? Let us know!
title: "Bounty Proposal:"
title: "Bounty Proposal: "

body:
- type: markdown
attributes:
value: |
## Feature Request Form
Thank you for taking the time to file a feature request! Please let us know what you're trying to do, and how UbiquiBot can help.
Thank you for taking the time to file a feature request.
If you register your wallet address, you will be eligible for compensation if this is accepted!
Please let us know how we can improve the bot.

- type: textarea
attributes:
label: Describe the background or context
description: Please let us know what inspired you to write this proposal. Backlinking to specific comments is usually sufficient context.
description: Please let us know what inspired you to write this proposal. Backlinking to specific comments on GitHub, and leaving a remark about how the bot should have interacted with it is usually sufficient context.
validations:
required: false

Expand All @@ -22,3 +24,10 @@ body:
description: A clear description of what you want to happen. Add any considered drawbacks.
validations:
required: true

- type: textarea
attributes:
label: Remarks
description: Any closing remarks?
validations:
required: false
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Telegram Group Chat
url: https://t.me/UbiquityDAO/29891
about: "Join us on Telegram!"
- name: UbiquiBot Development Group Chat
url: https://t.me/UbiquityDAO/31132
about: "Live chat with us on Telegram!"
14 changes: 9 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<!-- RULES TO CONTRIBUTE TO UBIQUIBOT

1. You must link the issue number e.g. "Resolves #1234"
2. You must link proof that your code works from a test issue on your forked repo e.g. "Quality Assurance https://github.com/user/repo/issues/1#issuecomment-1"
3. Please do not replace the keyword "Resolves" https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword

-->

Resolves #

<!--
- You must link the issue number e.g. "Resolves #1234"
- You must link the QA issue on your forked repo e.g. "QA for #1234"
- Please do not replace the keyword "Resolves" https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
-->
Quality Assurance:
40 changes: 6 additions & 34 deletions .github/ubiquibot-config.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,6 @@
---
evm-network-id: 100
base-multiplier: 1500
time-labels:
- name: "Time: <1 Hour"
weight: 0.125
value: 3600
- name: "Time: <1 Day"
weight: 1
value: 86400
- name: "Time: <1 Week"
weight: 2
value: 604800
- name: "Time: <2 Weeks"
weight: 3
value: 1209600
- name: "Time: <1 Month"
weight: 4
value: 2592000
priority-labels:
- name: "Priority: 0 (Normal)"
weight: 1
- name: "Priority: 1 (Medium)"
weight: 2
- name: "Priority: 2 (High)"
weight: 3
- name: "Priority: 3 (Urgent)"
weight: 4
- name: "Priority: 4 (Emergency)"
weight: 5
auto-pay-mode: true
analytics-mode: true
max-concurrent-bounties: 2
promotion-comment: `\n<h6>If you enjoy the DevPool experience, please follow <a href="https://github.com/ubiquity">Ubiquity on GitHub</a> and star <a href="https://github.com/ubiquity/devpool-directory">this repo</a> to show your support. It helps a lot!</h6>`
price-multiplier: 1.5
# 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!"
2 changes: 1 addition & 1 deletion .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ jobs:
X25519_PRIVATE_KEY: 'QCDb30UHUkwJAGhLWC-R2N0PiEbd4vQY6qH2Wloybyo'
FOLLOW_UP_TIME: '4 days'
DISQUALIFY_TIME: '7 days'
run: yarn start:serverless
run: yarn start:serverless
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ubiquity/action-conventional-commits@v1.1.2
- uses: ubiquity/action-conventional-commits@master
3 changes: 2 additions & 1 deletion .github/workflows/kebab-case.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
"^\.\/dist"
"^\.\/build"
"^\.\/vendor"
"^\.\/test"
"^\.\/\.next"
"\.sql$"
"\.md$"
Expand Down Expand Up @@ -47,4 +48,4 @@ jobs:
echo " - $file"
done
exit 1
fi
fi
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Test coveralls
on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2



98 changes: 98 additions & 0 deletions .github/workflows/update-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Pull Request Action
permissions: write-all
on:
workflow_dispatch:

env:
GH_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }}

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Check out repository
uses: actions/checkout@v3

- name: Install jq and yq
run: |
sudo apt-get -y install jq
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq
sudo chmod +x /usr/bin/yq

- name: Get UbiquiBot Token
uses: tibdex/[email protected]
id: get_installation_token
with:
app_id: ${{ secrets.UBIQUITY_BOUNTY_BOT_APP_ID }}
private_key: ${{ secrets.UBIQUITY_BOUNTY_BOT_PRIVATE_KEY }}

- name: Update Config Params and Create Pull Requests
run: |
urls=$(curl -sSL https://raw.githubusercontent.com/ubiquity/devpool-directory/development/projects.json | jq -r '.urls[]')

for url in $urls
do
repoName=$(basename $url)
ownerName=$(echo $url | awk -F/ '{print $(NF-1)}')

git clone $url $repoName
cd $repoName
defaultBranch=$(git branch --show-current)

# make a branch to update config #
git branch update
git checkout update

curl -sSL https://raw.githubusercontent.com/ubiquity/ubiquibot/development/ubiquibot-config-default.json > default.json
declare -A param_mapping=(
["evm-network-id"]="network-id chain-id"
["price-multiplier"]="base-multiplier"
#add more configs as needed
)

### update configs ###
# Iterate over the mapping and perform updates using sed
for new_param in "${!param_mapping[@]}"
do
old_params="${param_mapping[$new_param]}"
for old_param in $old_params
do
# only update param if the old ones exist
exist_old_param=$(yq "has(\"$old_param\")" .github/ubiquibot-config.yml)
if $exist_old_param; then
yq ".$new_param = .$old_param | del(.$old_param)" .github/ubiquibot-config.yml > temp.yml
mv temp.yml .github/ubiquibot-config.yml
fi
done
# if new param still doesent exist add default from ubiquibot-config-default.json
exist_new_param=$(yq "has(\"$new_param\")" .github/ubiquibot-config.yml)
if ! $exist_new_param; then
echo adding
def_val=$(jq -r ".[\"$new_param\"]" ubiquibot-config-default.json)
yq ".$new_param=$def_val" .github/ubiquibot-config.yml > temp.yml
mv temp.yml .github/ubiquibot-config.yml
fi
done

git config user.email "113181824+UbiquiBot[bot]@users.noreply.github.com"
git config user.name "UbiquiBot[bot]"

git add .github/ubiquibot-config.yml
git commit -m "build: use latest ubiquibot config setup"
git remote set-url origin https://${{ secrets.ADD_TO_PROJECT_PAT }}@github.com/$ownerName/$repoName.git
git push -f origin update

curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ steps.get_installation_token.outputs.token }}"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/$ownerName/$repoName/pulls \
-d '{
"title": "build: use latest ubiquibot config setup",
"base": "'"$defaultBranch"'",
"head": "update"
}'
cd ..
done
Loading
Loading