* Returns the branch for push builds. * @return {string}
()
| 111 | * @return {string} |
| 112 | */ |
| 113 | function ciPushBranch() { |
| 114 | return isGithubActions |
| 115 | ? env('GITHUB_REF') |
| 116 | : isCircleci |
| 117 | ? env('CIRCLE_BRANCH') |
| 118 | : ''; |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Returns the commit SHA being tested by a push build. |
no test coverage detected