invalidate stale commits for PRs too
This commit is contained in:
parent
df1dcee93d
commit
aee63f5e4b
3
.github/rm-invalid-lowest-lock-files.php
vendored
3
.github/rm-invalid-lowest-lock-files.php
vendored
@ -104,8 +104,7 @@ foreach ($composerJsons as list($dir, $lockedPackages)) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!$referencedCommits || (isset($_SERVER['TRAVIS_PULL_REQUEST']) && 'false' !== $_SERVER['TRAVIS_PULL_REQUEST'])) {
|
||||
// cached commits cannot be stale for PRs
|
||||
if (!$referencedCommits) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user