diff --git a/edx_repo_tools/pull_request_creator/__init__.py b/edx_repo_tools/pull_request_creator/__init__.py index b34855ee..d9e9d281 100644 --- a/edx_repo_tools/pull_request_creator/__init__.py +++ b/edx_repo_tools/pull_request_creator/__init__.py @@ -317,8 +317,8 @@ def create_pull_request(self, repository, title, body, base, head, user_reviewer "https://github.com/{}/pull/{}".format(repository.full_name, pull_request.number) ) from e - # it's a discovery work that's why only enabled for repo-health-data. - if pull_request.title == 'Python Requirements Update': + # Do this in upgrade PRs only + if pull_request.title == 'chore: Upgrade Python requirements': self.verify_upgrade_packages(pull_request) return pull_request