feat: Add pr_url attribute to git providers and final update message in PR description

This commit is contained in:
mrT23
2023-12-03 10:46:02 +02:00
parent c21e606eee
commit 586785ffde
6 changed files with 12 additions and 2 deletions

View File

@ -31,6 +31,7 @@ class GithubProvider(GitProvider):
self.diff_files = None
self.git_files = None
self.incremental = incremental
self.pr_url = pr_url
if pr_url and 'pull' in pr_url:
self.set_pr(pr_url)
self.last_commit_id = list(self.pr.get_commits())[-1]