8000 invalidate stale commits for PRs too · symfony/symfony@aee63f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit aee63f5

Browse files
committed
invalidate stale commits for PRs too
1 parent df1dcee commit aee63f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/rm-invalid-lowest-lock-files.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ function getContentHash(array $composerJson)
104104
}
105105
}
106106

107-
if (!$referencedCommits || (isset($_SERVER['TRAVIS_PULL_REQUEST']) && 'false' !== $_SERVER['TRAVIS_PULL_REQUEST'])) {
108-
// cached commits cannot be stale for PRs
107+
if (!$referencedCommits) {
109108
return;
110109
}
111110

0 commit comments

Comments
 (0)
0