We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c393784 commit abc8ba2Copy full SHA for abc8ba2
1 file changed
src/main.ts
@@ -45,7 +45,8 @@ async function run(): Promise<void> {
45
])
46
} else {
47
core.info(`Checking out ${branch}`)
48
- await exec('git', ['checkout', branch])
+ await exec('git', ['checkout', '-t', `origin/${branch}`])
49
+ await exec('git', ['pull'])
50
}
51
52
// open the database
0 commit comments