43 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
61c263e7fe Recognize changes in files directory 2019-01-08 11:30:15 +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
8fc1619433 pr: Fix Travis log regex 2018-04-26 09:27:09 +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
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
Zero King
36c888d9d6 pr: Refactor
Merge code handling maintainer reaction to pull requests.
2018-03-11 11:37:42 +00:00
Zero King
7805a25a28 pr: Enable maintainer timeout check on openmaintainer PRs 2018-03-10 18:16:39 +00:00
Zero King
09f640ceb5 pr: Refine maintainer detection of PRs with new Portfiles 2018-03-10 17:57:05 +00:00
Zero King
7b596ab9df Fix comment 2017-10-27 11:33:35 +00:00
Zero King
22728ea5d1 Notify all maintainers 2017-10-27 11:22:04 +00:00
Zero King
ef010d2954 Find CVE Identifiers in PR title too 2017-10-10 04:19:26 +00:00
Zero King
a2f819d2e8 graceful shutdown, fix tests 2017-08-22 11:00:41 +00:00
Zero King
dd73a99f18 Handle maintainer timeout 2017-08-15 09:25:52 +00:00
Zero King
471987b446 Remove comment footer 2017-08-15 09:25:06 +00:00
Zero King
09d1c51020 Add tests for "by: member" 2017-08-03 01:33:24 +00:00