@@ -128,6 +128,7 @@ jobs:
128128 # Will be blank outside of this
129129 PR_NUMBER : ${{ github.event.pull_request.number }}
130130 SCRIPT : ${{ inputs.script }}
131+ filter : ${{ inputs.checkout-mode == 'blobless' && 'blob:none' || inputs.checkout-mode == 'treeless' && 'tree:0' || null }}
131132 runs-on : ${{ inputs.runner }}
132133 # TODO: Eventually this should run in a container, we need to make a container that matches up
133134 # with the users for our self hosted runner infra since using actions/checkout with a root
@@ -181,7 +182,8 @@ jobs:
181182 docker exec -it $(docker container ps --format '{{.ID}}') bash
182183
183184 - name : Checkout repository (${{ inputs.repository || github.repository }}@${{ inputs.ref }})
184- uses : zklaus/checkout@4a5ddcafe75fd4cd42b59eff291c317d66eea084 # submodules filter enabled
185+ uses : ./.github/actions/checkout@add-checkout-action
186+ # uses: zklaus/checkout@4a5ddcafe75fd4cd42b59eff291c317d66eea084 # submodules filter enabled
185187 # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
186188 with :
187189 # Support the use case where we need to checkout someone's fork
@@ -190,8 +192,8 @@ jobs:
190192 path : ${{ inputs.repository || github.repository }}
191193 fetch-depth : ${{ inputs.fetch-depth }}
192194 submodules : ${{ inputs.submodules }}
193- filter : ${{ inputs.checkout-mode == 'blobless' && 'blob:none' || inputs.checkout-mode == 'treeless' && 'tree:0' || null }}
194- submodules-filter : ${{ inputs.checkout-mode == 'blobless' && 'blob:none' || inputs.checkout-mode == 'treeless' && 'tree:0' || null }}
195+ filter : $filter
196+ submodules-filter : $filter
195197
196198 - name : Calculate docker image
197199 id : calculate-docker-image
0 commit comments