Github PR label automation
Dr Paul Dale
paul.dale at oracle.com
Sat Feb 8 23:49:16 UTC 2020
Please don’t automatically drop the "appoval: done" label after a comment. I feel that is not uncommon for comments to be added that in no way invalidate the approval.
I agree with not switching to “ready to merge” if there are comments — manual intervention in this case is required to judge the relevancy.
Agreed also over the “urgent” label.
Pauli
--
Dr Paul Dale | Distinguished Architect | Cryptographic Foundations
Phone +61 7 3031 7217
Oracle Australia
> On 9 Feb 2020, at 1:56 am, Mark J Cox <mark at openssl.org> wrote:
>
> I've currently got a cron job running every hour that looks at open PR
> requests against github openssl repo and does various actions. So if
> you were wondering why I was altering labels and making comments at
> 4am, now you know. No doubt we'll use some tool user for this in the
> future.
>
> So right now here's what it does:
>
> Every hour it looks at open PRs that are labelled "approval: done".
> If 24 hours has elapsed since that label was assigned and if there
> have been no comments made to the PR since the label was assigned then
> it is automatically moved to "approval: ready to merge" with a comment
> added to trigger notifications. So if you want to stop something
> going to "ready to merge" just add any comment to the PR.
>
> I'm thinking of using this script also to 1) collect interesting stats
> and 2) do some other actions. So if there's some automation you'd
> like to see just add an enhancement issue against the openssl/tools
> repo.
>
> 1 Matt already asked for committer notification trigger for anything
> labelled Urgent.
>
> 2 If there were comments made after "approval: done" then I think we
> really ought to drop the "approval: done" label as the comments likely
> invalidated the approval. So I'll likely add that next week (if
> "approval: done" label and has comments since that label then remove
> the label and add a comment 'please review if this is really approval:
> done'. If the approval: done label gets set again then after 24 hours
> the existing automation will trigger. #10786 is a good example of
> this.
>
> Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-project/attachments/20200209/6dfb8435/attachment.html>
More information about the openssl-project
mailing list