Skip to content

Commit

Permalink
fix: Update PR title check during upgrade PR creation
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsobanjaved committed Jul 31, 2024
1 parent ea665db commit c19be5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edx_repo_tools/pull_request_creator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c19be5e

Please sign in to comment.