(rootDir: string)
| 6 | |
| 7 | /** Get the current HEAD commit SHA */ |
| 8 | export function getHeadSha(rootDir: string): string | null { |
| 9 | return tryRunArgs(['git', 'rev-parse', 'HEAD'], { cwd: rootDir }); |
| 10 | } |
| 11 | |
| 12 | /** |
| 13 | * Run an async function with BUMPY_GH_TOKEN as GH_TOKEN if available. |
no test coverage detected
searching dependent graphs…