@@ -130,9 +130,11 @@ jobs:
130
130
run : |
131
131
# Another benchmarking task may have created results for the same
132
132
# commit while the above was running. This "magic" incantation means
133
- # that any local results for this commit will override anything we
134
- # just pulled in in that case.
135
- git pull -s recursive -X ours --autostash --rebase
133
+ # that any local results for this commit will override anything that
134
+ # happened in the meantime.
135
+ # https://stackoverflow.com/questions/43770520/how-to-specify-default-merge-strategy-on-git-stash-pop
136
+ git stash
137
+ git cherry-pick -n -m1 -Xtheirs stash
136
138
- name : Add data to repo
137
139
if : ${{ steps.should_run.outputs.should_run != 'false' }}
138
140
uses : EndBug/add-and-commit@v9
@@ -227,9 +229,11 @@ jobs:
227
229
run : |
228
230
# Another benchmarking task may have created results for the same
229
231
# commit while the above was running. This "magic" incantation means
230
- # that any local results for this commit will override anything we
231
- # just pulled in in that case.
232
- git pull -s recursive -X ours --autostash --rebase
232
+ # that any local results for this commit will override anything that
233
+ # happened in the meantime.
234
+ # https://stackoverflow.com/questions/43770520/how-to-specify-default-merge-strategy-on-git-stash-pop
235
+ git stash
236
+ git cherry-pick -n -m1 -Xtheirs stash
233
237
- name : Adding data to repo
234
238
if : ${{ steps.should_run.outputs.should_run != 'false' && !inputs.perf }}
235
239
uses : EndBug/add-and-commit@v9
@@ -321,9 +325,11 @@ jobs:
321
325
run : |
322
326
# Another benchmarking task may have created results for the same
323
327
# commit while the above was running. This "magic" incantation means
324
- # that any local results for this commit will override anything we
325
- # just pulled in in that case.
326
- git pull -s recursive -X ours --autostash --rebase
328
+ # that any local results for this commit will override anything that
329
+ # happened in the meantime.
330
+ # https://stackoverflow.com/questions/43770520/how-to-specify-default-merge-strategy-on-git-stash-pop
331
+ git stash
332
+ git cherry-pick -n -m1 -Xtheirs stash
327
333
- name : Add data to repo
328
334
if : ${{ steps.should_run.outputs.should_run != 'false' }}
329
335
uses : EndBug/add-and-commit@v9
0 commit comments