Skip to content

Commit f49369b

Browse files
committed
Need to reset hard HEAD^
1 parent 00d891e commit f49369b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function run(): Promise<void> {
8383
break
8484
} catch (error) {
8585
core.info('Retrying because of conflicts...')
86-
await exec('git', ['reset', '--hard', 'HEAD'])
86+
await exec('git', ['reset', '--hard', 'HEAD^'])
8787
await exec('git', ['pull'])
8888
}
8989
}

0 commit comments

Comments
 (0)