61 Commits

Author SHA1 Message Date
Clemens Lang
d3d1f66c3d Log stack trace when recovering from a panic
Apparently that's possible by attempting to capture a stack trace at
this location, even though it isn't the location where the error was
thrown, at least according to [1]. It seems to work in my testing.

[1]: https://groups.google.com/g/golang-nuts/c/MB8GyW5j2UY/m/xt54dFicvxoJ
2025-09-12 23:01:59 +02:00
Clemens Lang
e0682b4b28 Don't crash on empty PR bodies
GitHub sunds those as null values, so we can't deref them without
checking first. Modify the test to actually use a null body at least
once.
2025-09-12 22:56:53 +02:00
Zero King
7b192c9367 Initialize Go module 2020-06-11 23:57:37 +02:00
Zero King
09bd9654a9 pr: Only make failed builds bold 2019-06-11 12:46:01 +00:00
Helmut K. C. Tessarek
6f8aa8f253 improve test for 'update' label
The test for an update is too specific. It misses several cases:

update PORT to NNN
PORT: update MAINPORT to NNN, SUBPORT to NNN

Some people might want to use the type `- [x] update` in the body.
2019-04-25 02:56:07 +00:00
Zero King
a13ba9066e Improve code readability 2019-01-08 11:34:51 +00:00
Zero King
61c263e7fe Recognize changes in files directory 2019-01-08 11:30:15 +00:00
Zero King
b697d64841 pr: Simplify Portfile rename detection 2019-01-06 09:19:37 +00:00
Zero King
01717a2738 pr: Detect port renames 2019-01-06 02:27:04 +00:00
Zero King
98fa1eff64 pr: Comment on Portfile regex 2019-01-06 02:19:09 +00:00
Zero King
f54caea853 pr: Fix nomaintainer parsing 2019-01-06 02:11:40 +00:00
Zero King
78348b2521 Remove redundant check 2019-01-05 17:36:07 +00:00
Zero King
6710b2dffb Retry fetching Travis CI logs 2019-01-05 17:29:37 +00:00
Zero King
80c887b233 Add retry command 2019-01-05 17:06:06 +00:00
Zero King
977b45d11f Improve log message 2019-01-05 15:26:42 +00:00
Zero King
c43978c180 Fix primary maintainer detection 2019-01-05 15:25:00 +00:00
Zero King
e47b6d532e pr: check for maintainer timeout more frequently 2018-06-24 06:54:51 +00:00
Zero King
8fc1619433 pr: Fix Travis log regex 2018-04-26 09:27:09 +00:00
Zero King
c4374e3fc3 pr: force quit on second SIGINT/TERM 2018-04-10 07:11:49 +00:00
Zero King
d10d1a5403 pr: Limit pastebin output to one line 2018-03-20 15:18:34 +00:00
Zero King
ebe427ef15 pr: Add newline before timeout message 2018-03-18 12:33:04 +00:00
Zero King
f470498846 pr: Travis webhook support 2018-03-13 16:53:27 +00:00
Zero King
f1924b7595 pr: List of members is paginated 2018-03-11 13:57:50 +00:00
Zero King
d7fff2bc48 pr: Log number of org members 2018-03-11 13:39:16 +00:00
Zero King
14bfc80cbd pr: Attempt to assign port maintainers 2018-03-11 13:02:54 +00:00