Check how pull requests can be closed automatically