@@ -133,12 +133,9 @@ jobs:
133133 run : |
134134 # Another benchmarking task may have created results for the same
135135 # 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
142139 - name : Add data to repo
143140 if : ${{ steps.should_run.outputs.should_run != 'false' }}
144141 uses : EndBug/add-and-commit@v9
@@ -240,12 +237,9 @@ jobs:
240237 run : |
241238 # Another benchmarking task may have created results for the same
242239 # 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
249243 - name : Adding data to repo
250244 if : ${{ steps.should_run.outputs.should_run != 'false' && !inputs.perf }}
251245 uses : EndBug/add-and-commit@v9
@@ -345,12 +339,9 @@ jobs:
345339 run : |
346340 # Another benchmarking task may have created results for the same
347341 # 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
354345 - name : Add data to repo
355346 if : ${{ steps.should_run.outputs.should_run != 'false' }}
356347 uses : EndBug/add-and-commit@v9
0 commit comments