It seems the stale label works for now. 124 PRs[1] were labeled as 'stale'
in the fourth batch[2].

[1]
https://github.com/apache/flink/labels/stale?page=5&q=is%3Aopen+label%3Astale
[2] https://github.com/apache/flink/actions/runs/12782496848

Best,
Rui

On Wed, Jan 15, 2025 at 10:09 AM Rui Fan <1996fan...@gmail.com> wrote:

> Hi Tom,
>
> Thanks for following up and pointing it out!
>
> I just asked ChatGPT, it seems github bot doesn't create new labels
> and we need to create new labels in advance.
>
> I created 'stale' and 'closed-stale' label[1]s just now, let us
> see whether the label works for subsequent PRs.
>
> [1] https://github.com/apache/flink/labels?q=stale
>
> Best,
> Rui
>
> On Wed, Jan 15, 2025 at 1:23 AM Tom Cooper <c...@tomcooper.dev> wrote:
>
>> Hi all,
>>
>> We have enabled [1] the Stale PR GitHub action and it has starting
>> tagging PRs [2] with the specified comments (for example [3]).
>>
>> However, it is not applying the specified 'stale' label to the PRs. The
>> docs don't say anything about needing to create the label first, but I
>> wondered if there is some restriction in the repository settings or on the
>> GITHUB TOKEN used by the action that prevents it creating the label? If
>> someone with the required authority could check I would be greatful.
>>
>> Thanks,
>>
>> Tom Cooper
>> @tomncooper | tomcooper.dev
>>
>> [1] https://github.com/apache/flink/pull/25953
>> [2] https://github.com/apache/flink/actions/runs/12767242530
>> [3] https://github.com/apache/flink/pull/3672#issuecomment-2589741128
>>
>

Reply via email to