RFR: 1855: Make it configurable which repositories merges should be allowed from [v2]

Zhao Song zsong at openjdk.org
Tue Apr 18 17:08:40 UTC 2023


On Tue, 18 Apr 2023 16:04:04 GMT, Zhao Song <zsong at openjdk.org> wrote:

>> In this patch, PR bot has been added with the capability to control which repositories can be the source for Merge-style pull requests.
>> 
>> By default, all repositories are allowed.
>> 
>> However, if it is desired to configure "allowed" repos, the configuration can be added to the PR bot configuration as follows:
>> 
>> {
>>   "pr": {
>>       "repositories": {
>>           "repo1": {
>>                "mergeSources": [openjdk/repo2, openjdk/repo3]
>>           }
>>        }
>>   }
>> }
>> 
>> 
>> And the repo itself can always be the source of Merge-style pull requests.
>
> Zhao Song has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - fix test
>  - Update bots/pr/src/main/java/org/openjdk/skara/bots/pr/CheckWorkItem.java
>    
>    Co-authored-by: Erik Joelsson <37597443+erikj79 at users.noreply.github.com>

Thanks for the review!

-------------

PR Comment: https://git.openjdk.org/skara/pull/1503#issuecomment-1513514125


More information about the skara-dev mailing list