@@ -195,6 +195,12 @@ jobs:
195195 steps :
196196 - name : git checkout
197197 uses : actions/checkout@v3
198+ with :
199+ fetch-depth : 0
200+
201+ - name : fetch and rebase on ${{ github.base_ref }}
202+ if : github.event_name == 'pull_request'
203+ uses : ./.github/actions/rebase
198204
199205 - name : git checkout fuzzing seeds
200206 uses : actions/checkout@v3
@@ -261,6 +267,12 @@ jobs:
261267 steps :
262268 - name : git checkout
263269 uses : actions/checkout@v3
270+ with :
271+ fetch-depth : 0
272+
273+ - name : fetch and rebase on ${{ github.base_ref }}
274+ if : github.event_name == 'pull_request'
275+ uses : ./.github/actions/rebase
264276
265277 - name : setup go ${{ env.GO_VERSION }}
266278 uses : ./.github/actions/setup-go
@@ -306,6 +318,12 @@ jobs:
306318 steps :
307319 - name : git checkout
308320 uses : actions/checkout@v3
321+ with :
322+ fetch-depth : 0
323+
324+ - name : fetch and rebase on ${{ github.base_ref }}
325+ if : github.event_name == 'pull_request'
326+ uses : ./.github/actions/rebase
309327
310328 - name : setup go ${{ env.GO_VERSION }}
311329 uses : ./.github/actions/setup-go
@@ -344,6 +362,12 @@ jobs:
344362 steps :
345363 - name : git checkout
346364 uses : actions/checkout@v3
365+ with :
366+ fetch-depth : 0
367+
368+ - name : fetch and rebase on ${{ github.base_ref }}
369+ if : github.event_name == 'pull_request'
370+ uses : ./.github/actions/rebase
347371
348372 - name : setup go ${{ env.GO_VERSION }}
349373 uses : ./.github/actions/setup-go
0 commit comments