Commit graph

54 commits

Author SHA1 Message Date
b025589e1e Ok testing again 2023-08-29 22:00:56 -04:00
8890b4de0d Ok now remove logging for the last time (hopefully) 2023-08-29 21:56:37 -04:00
bd9ca3318d Re-add debug logging as I'm dumb and want to make sure this is working 2023-08-29 21:54:11 -04:00
f5bcc381aa Remove debug logging 2023-08-29 21:51:36 -04:00
a47fe7b425 Delete key from map after PR is merged 2023-08-29 21:48:00 -04:00
df2a96c6da Add version string and version logging 2023-08-29 09:48:53 -04:00
ce25b3c9f9 Mention user that is being detected for duplicate vote 2023-08-29 09:37:59 -04:00
d8d5f2e9e2 Ok duplicate voting has been stopped. Also fix current vote message being reprinted after a duplicate vote 2023-08-29 09:35:39 -04:00
df6ef3d5af Remove logging approvals list 2023-08-29 09:34:00 -04:00
2e1bbe88dc Fix map for approvals list 2023-08-29 09:31:16 -04:00
cf8a2da467 Log approvals list for debugging purposes 2023-08-29 09:28:00 -04:00
2fafe57e5f I think this fixes it? 2023-08-29 09:24:00 -04:00
02f6ef9481 Code cleanup 2023-08-29 09:20:15 -04:00
809e8ee237 Add checks for previous votes to prevent duplicate voting 2023-08-29 09:17:58 -04:00
6c288c4bf6 Move host to a env variable and combine host/port to address var for HTTP server 2023-08-28 23:51:15 -04:00
7eee357aad Fix printing of port to console from placeholder and change some formatting of logging 2023-08-28 23:41:09 -04:00
817e36b168 Move port to a env variable 2023-08-28 23:34:42 -04:00
fea79cbefc Now it'll work, I'm just dumb 2023-08-28 23:24:49 -04:00
2a0ee52654 Change emojis on successful merge 2023-08-28 23:23:37 -04:00
40b64a43ef Why is the vote counting broken now? 2023-08-28 23:21:25 -04:00
b8413bf448 Add some logging for the console when events are handled, and add logging for requests to root endpoint 2023-08-28 23:19:25 -04:00
007bd63db7 Remove test file 2023-08-28 22:32:38 -04:00
b67df94c1e Add exclamation point for consistency 2023-08-28 22:08:32 -04:00
77b8be9968 Read private key as byte array 2023-08-28 21:56:23 -04:00
b28529ca80 Stop printing private key to console 2023-08-28 21:42:52 -04:00
03642cfd73 Move privatekey to a env variable 2023-08-28 21:40:17 -04:00
9db39a481d Fix port on listening message 2023-08-28 21:31:35 -04:00
b6968ec64e Change port for webhook 2023-08-28 21:28:14 -04:00
0f51ecc137 Remove unused code 2023-08-28 20:45:30 -04:00
4c06fc6af2 Fixed typo lol 2023-08-28 20:41:03 -04:00
cd631cc01f Move webhook endpoint 2023-08-28 20:31:46 -04:00
e908177363 Downgrade go version for deployment compatibility 2023-08-28 20:16:48 -04:00
c947092567 Ok that didn't work 2023-08-28 20:16:00 -04:00
2943a7dd0b Make sure votes are unique 2023-08-28 19:44:46 -04:00
e76e22ca6b Move required thumbs up for merge to 5 2023-08-28 19:21:16 -04:00
6e15e53410 Ok I think it works now, add message on successful merge 2023-08-28 19:18:11 -04:00
2661344d14 Why didn't that work? 2023-08-28 19:10:48 -04:00
368f06e584 Ok we were counting the thumbs up from the bot which is definitely NOT what we want 2023-08-28 19:07:01 -04:00
8d9909e5ef Still confused 2023-08-28 19:02:30 -04:00
21892a7c66 Ok let's see what happens 2023-08-28 18:59:39 -04:00
22d79a0547 Revert last commit as it broke it even more 2023-08-28 18:55:49 -04:00
b44f52fe4c Fixed reaction counting bug (i think) 2023-08-28 18:51:22 -04:00
e63bd7fd86 Fix thumbs up (👍) checking 2023-08-28 18:48:24 -04:00
f502fe0858 Seem to finally get it all working as intended 2023-08-28 18:32:00 -04:00
d0e32757b9 Get PR processing working and add messaging to show users how many votes are remaining for a merge 2023-08-28 18:05:14 -04:00
b681dcbc58 test commit 2023-08-28 17:22:09 -04:00
ce7a9b9dae Ok the code should work, there just isn't a WebHook for reactions on comments :( I guess I'll rework it at some point 2023-08-28 17:15:09 -04:00
268caa3d52 Ok so PR's aren't working but I made it a little prettier. 2023-08-28 16:48:51 -04:00
78c8955235 Processing issue events now works, possibly PR's as well 2023-08-28 16:16:43 -04:00
c3f92e99d0 Try to add a callback for all events on issues/PR's but I fail 2023-08-26 16:33:04 -04:00