(root: string, baseBranch: string)
| 35 | ); |
| 36 | |
| 37 | const fetchGitOrigin = (root: string, baseBranch: string) => |
| 38 | pipe( |
| 39 | Command.make('git', 'fetch', 'origin', `${baseBranch}:${baseBranch}`), |
| 40 | Command.workingDirectory(root), |
| 41 | Command.exitCode, |
| 42 | Effect.catchAll(() => Effect.void) |
| 43 | ); |
| 44 | |
| 45 | const getRootAndBaseBranch = Effect.all([rootDir, getEnvVar('GITHUB_BASE_REF')]); |
| 46 |