GiteaBot / gitea-backporter

:tea: A script that looks for PRs in Gitea that need to be backported and creates the backport PR for them
MIT License
17 stars 8 forks source link

Autoclose PRs with `pr/last-call` that have had this label for at least a week #116

Closed delvh closed 8 months ago

delvh commented 8 months ago

As per our CoC: If you start a last call, and no one reviews the PR within a week, you can consider this polite refusal and your PR will be closed. This definition is automateable, especially now that we have the corresponding label.

yardenshoham commented 8 months ago

How do you imagine the condition? There's no info on the GitHub API object for a PR that says when a label was added to a PR. We could check that a PR has pr/last-call and the updated_at field is two weeks or more in the past

delvh commented 8 months ago

Sounds good