* Returns true if this is a PR build. * @return {boolean}
()
| 63 | * @return {boolean} |
| 64 | */ |
| 65 | function isPullRequestBuild() { |
| 66 | return isGithubActions |
| 67 | ? env('GITHUB_EVENT_NAME') === 'pull_request' |
| 68 | : isCircleci |
| 69 | ? !isCircleciPushBranch(env('CIRCLE_BRANCH')) |
| 70 | : false; |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * Returns true if this is a push build. |
no test coverage detected