Propose kredits for PR reviews #71
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/review-kredits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Continued from https://gitea.kosmos.org/kredits/kredits-reviews
This fixes, updates, and improves the manual script to propose kredits for PR reviews on GitHub and Gitea.
I tested it with my local dev setup, creating kredits on the local test chain. It's currently a bit tricky, due to the IPFS lib being EOL, so I don't expect anyone to test locally for reviews.
I ran the script in production for the missing 2021 kredits, so you can see a live example: https://kredits.kosmos.org
If everyone's happy with that, I'll run it for the other years since then, 1 per year.
refs #65
WIP: Propose kredits for PR reviewsto Propose kredits for PR reviews@ -13,6 +13,7 @@
"dependencies": {
"@ethersproject/experimental": "5.7.0",
"@kredits/contracts": "^7.3.0",
"axios": "^1.7.9",
Any particular reason for switching from the built in fetch to axios?
Just because that's what @galfert's code was using (at the time), and I didn't want to spend time on refactoring something that works. I'd rather move the whole thing away from hubot and npm modules eventually.
Had one question about axios out of curiosity, but otherwise LGTM! \o/
@slvrbckt Thanks! I have generated the rest of the kredits proposals now.