(baseBranch: string)
| 238 | } |
| 239 | |
| 240 | async function fetchBaseBranch(baseBranch: string): Promise<void> { |
| 241 | core.info(`📥 Fetching base branch: ${baseBranch}...`); |
| 242 | |
| 243 | try { |
| 244 | await exec.exec('git', ['fetch', 'origin', `${baseBranch}:${baseBranch}`]); |
| 245 | core.info(`✅ Base branch ${baseBranch} fetched successfully`); |
| 246 | } catch (error) { |
| 247 | core.warning(`Failed to fetch base branch ${baseBranch}: ${formatError(error)}`); |
| 248 | core.warning('Git diff may fail if base branch is not available'); |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | function buildCliArgs( |
| 253 | apiHost: string, |
no test coverage detected
searching dependent graphs…