@@ -130,9 +130,11 @@ jobs:
130130 run : |
131131 # Another benchmarking task may have created results for the same
132132 # 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
136138 - name : Add data to repo
137139 if : ${{ steps.should_run.outputs.should_run != 'false' }}
138140 uses : EndBug/add-and-commit@v9
@@ -227,9 +229,11 @@ jobs:
227229 run : |
228230 # Another benchmarking task may have created results for the same
229231 # 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
233237 - name : Adding data to repo
234238 if : ${{ steps.should_run.outputs.should_run != 'false' && !inputs.perf }}
235239 uses : EndBug/add-and-commit@v9
@@ -321,9 +325,11 @@ jobs:
321325 run : |
322326 # Another benchmarking task may have created results for the same
323327 # 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
327333 - name : Add data to repo
328334 if : ${{ steps.should_run.outputs.should_run != 'false' }}
329335 uses : EndBug/add-and-commit@v9
0 commit comments