From aee63f5e4b058af7beb28f9642e1f52f9322d3dc Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 9 Oct 2018 13:19:40 +0200 Subject: [PATCH] invalidate stale commits for PRs too --- .github/rm-invalid-lowest-lock-files.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/rm-invalid-lowest-lock-files.php b/.github/rm-invalid-lowest-lock-files.php index 3105942a09..c036fd356f 100644 --- a/.github/rm-invalid-lowest-lock-files.php +++ b/.github/rm-invalid-lowest-lock-files.php @@ -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; }