The code I posted above is an abstraction that is configured by YAML stuff
like the following (where the test exists for closing PRs):
https://github.com/kubernetes/test-infra/blob/a8cee5a60a2d9476341cf843867221a8bd18a3e8/config/jobs/kubernetes/test-infra/test-infra-periodics.yaml#L47

I am not up on Go, but others pointed me there.

On Tue, Sep 4, 2018 at 4:12 PM, Misty Linville <mi...@apache.org> wrote:

> Here's the code to the bot: https://github.com/kubernetes/test-infra/tree/
> master/robots/commenter
>
> On Tue, Sep 4, 2018 at 10:21 AM, Sean Busbey <bus...@apache.org> wrote:
>
>> Do you have a link to an instance of the bot you're talking about?
>> On Tue, Sep 4, 2018 at 11:18 AM Misty Linville <mi...@apache.org> wrote:
>> >
>> > The below snip isn't true. Somehow CNCF has tooling that does it (it is
>> a
>> > bot called fejtabot). I can try to find out more about it if this is a
>> > mechanism we are interested in pursuing.
>> >
>> > On Tue, Sep 4, 2018 at 7:08 AM, Sean Busbey <bus...@apache.org> wrote:
>> > >
>> > >
>> > > We can't automate closing PRs because the only way to close a PR is by
>> > > pushing a commit to our master branch and ASF policy doesn't allow for
>> > > non-commiters pushing into the repository if the repository is used to
>> > > make release artifacts.
>> > >
>> > >
>>
>
>

Reply via email to