Skip to content

Commit 6fca345

Browse files
committed
Updated docs
1 parent 2644643 commit 6fca345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Subscriber/AutoUpdateTitleWithLabelSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function onPullRequest(GitHubEvent $event)
5151
$lock = $this->lockFactory->createLock($repository->getFullName().'#'.$number);
5252
$lock->acquire(true); // blocking. Lock will be released at __destruct
5353

54-
// Fetch the current PR just to make sure it has not changed
54+
// Fetch the current PR just to make sure we are working with all available information
5555
$githubPullRequest = $this->pullRequestApi->show($repository, $number);
5656
$originalTitle = $prTitle = trim($githubPullRequest['title']);
5757
$validLabels = [];

0 commit comments

Comments
 (0)