Skip to content

Commit

Permalink
Run on PR for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-rafalko committed Jan 8, 2022
1 parent dec61a6 commit 28e6870
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Environment/BuildContextResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ public function resolve(): BuildContext
throw new CouldNotResolveBuildContext('The current process is not executed in a CI build');
}

if ($ci->isPullRequest()->yes()) {
throw new CouldNotResolveBuildContext('The current process is a pull request build');
}
// if ($ci->isPullRequest()->yes()) {
// throw new CouldNotResolveBuildContext('The current process is a pull request build');
// }

if ($ci->isPullRequest()->maybe()) {
throw new CouldNotResolveBuildContext('The current process may be a pull request build');
Expand Down

0 comments on commit 28e6870

Please sign in to comment.