File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,12 @@ jobs:
292
292
- name : Checkout BASE
293
293
uses : actions/checkout@v4
294
294
with :
295
- ref : ${{ github.event.pull_request.base.sha }}
295
+ # Use base.ref, not base.sha, to make sure we do not get a checkout of the base at an earlier time
296
+ # (when the PR's branch was branched off the PR's target branch), but right now. Without this there
297
+ # will be a potentially large list of changes since the merge commit we check out for HEAD is based
298
+ # on a far newer version. I'm not 100% sure whether this is also a good idea for the closed event
299
+ # though...
300
+ ref : ${{ github.event.pull_request.base.ref }}
296
301
path : ${{ steps.vars.outputs.checkout-path }}
297
302
298
303
- name : Initialize the build environment (BASE)
You can’t perform that action at this time.
0 commit comments