8000 minor #28788 invalidate stale commits for PRs too (xabbuh) · symfony/symfony@798dcc5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 798dcc5

Browse files
committed
minor #28788 invalidate stale commits for PRs too (xabbuh)
This PR was merged into the 2.8 branch. Discussion ---------- invalidate stale commits for PRs too | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- aee63f5 invalidate stale commits for PRs too
2 parents 75eb858 + aee63f5 commit 798dcc5

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