Integrated: 1396: Gitlab MR merged outside of Skara causes NPE in mlbridge
Erik Joelsson
erikj at openjdk.java.net
Tue Apr 12 20:05:20 UTC 2022
On Tue, 12 Apr 2022 19:06:02 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
> If an MR is merged through Gitlab, without the use of Skara, we end up in a retry loop getting NPE in the mlbridge bot. This is caused by trying to extract the value of the "closed_by" field of the PR object. This patch adds a fallback to look at the "merged_by" field instead.
This pull request has now been integrated.
Changeset: fe8bd087
Author: Erik Joelsson <erikj at openjdk.org>
URL: https://git.openjdk.java.net/skara/commit/fe8bd087abf6921a02ce8dde5bdfa4aeb63cc02f
Stats: 11 lines in 1 file changed: 9 ins; 0 del; 2 mod
1396: Gitlab MR merged outside of Skara causes NPE in mlbridge
Reviewed-by: kcr
-------------
PR: https://git.openjdk.java.net/skara/pull/1298
More information about the skara-dev
mailing list