From c19be5eb8a05c247152a0d8af115c2353f340ddd Mon Sep 17 00:00:00 2001 From: Muhammad Soban Javed Date: Wed, 31 Jul 2024 13:58:04 +0500 Subject: [PATCH] fix: Update PR title check during upgrade PR creation --- edx_repo_tools/pull_request_creator/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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