RFR: 2115: More flexible merge PR review configuration
Zhao Song
zsong at openjdk.org
Wed Dec 6 18:44:05 UTC 2023
On Wed, 6 Dec 2023 10:35:18 GMT, Erik Duveblad <ehelin at openjdk.org> wrote:
> Hi all,
>
> please review this patch that enables a bit more flexible configuration for checking merge pull requests. Today we can configure that a merge pull requests always should be checked and if that isn't configured then the `.jcheck/conf` from the repository is used. If we ever want to set `merge=check` in the `.jcheck/conf` file in repos then we will need a way to _disable_ running jcheck on merge pull requests (for example for projects using merge pull requests to sync in commits).
>
> This patch makes it possible to configure that merge pull requests should either always be checked, never be checked or checked according to `.jcheck/conf` in the repo.
>
> Thanks,
> Erik
It's a reasonable change for me and it looks quite good to me!
bots/pr/src/main/java/org/openjdk/skara/bots/pr/MergePullRequestReviewConfiguration.java line 2:
> 1: /*
> 2: * Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
Remove 2019?
-------------
PR Review: https://git.openjdk.org/skara/pull/1592#pullrequestreview-1768335047
PR Review Comment: https://git.openjdk.org/skara/pull/1592#discussion_r1417800873
More information about the skara-dev
mailing list