@@ -133,12 +133,9 @@ jobs:
133
133
run : |
134
134
# Another benchmarking task may have created results for the same
135
135
# commit while the above was running. This "magic" incantation means
136
- # that any local results for this commit will override anything that
137
- # happened in the meantime.
138
- # https://stackoverflow.com/questions/43770520/how-to-specify-default-merge-strategy-on-git-stash-pop
139
- git stash
140
- git pull -s recursive --rebase
141
- git cherry-pick -n -m1 -Xtheirs stash
136
+ # that any local results for this commit will override anything we
137
+ # just pulled in in that case.
138
+ git pull -s recursive -X ours --autostash --rebase
142
139
- name : Add data to repo
143
140
if : ${{ steps.should_run.outputs.should_run != 'false' }}
144
141
uses : EndBug/add-and-commit@v9
@@ -240,12 +237,9 @@ jobs:
240
237
run : |
241
238
# Another benchmarking task may have created results for the same
242
239
# commit while the above was running. This "magic" incantation means
243
- # that any local results for this commit will override anything that
244
- # happened in the meantime.
245
- # https://stackoverflow.com/questions/43770520/how-to-specify-default-merge-strategy-on-git-stash-pop
246
- git stash
247
- git pull -s recursive --rebase
248
- git cherry-pick -n -m1 -Xtheirs stash
240
+ # that any local results for this commit will override anything we
241
+ # just pulled in in that case.
242
+ git pull -s recursive -X ours --autostash --rebase
249
243
- name : Adding data to repo
250
244
if : ${{ steps.should_run.outputs.should_run != 'false' && !inputs.perf }}
251
245
uses : EndBug/add-and-commit@v9
@@ -345,12 +339,9 @@ jobs:
345
339
run : |
346
340
# Another benchmarking task may have created results for the same
347
341
# commit while the above was running. This "magic" incantation means
348
- # that any local results for this commit will override anything that
349
- # happened in the meantime.
350
- # https://stackoverflow.com/questions/43770520/how-to-specify-default-merge-strategy-on-git-stash-pop
351
- git stash
352
- git pull -s recursive --rebase
353
- git cherry-pick -n -m1 -Xtheirs stash
342
+ # that any local results for this commit will override anything we
343
+ # just pulled in in that case.
344
+ git pull -s recursive -X ours --autostash --rebase
354
345
- name : Add data to repo
355
346
if : ${{ steps.should_run.outputs.should_run != 'false' }}
356
347
uses : EndBug/add-and-commit@v9
0 commit comments