File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -402,9 +402,18 @@ jobs:
402402 - name : Checkout kernel source
403403 uses : actions/checkout@v4
404404 with :
405- fetch-depth : 50 # Shallow clone: enough for commit messages and logs
405+ fetch-depth : 100 # Fetch more history for commit counting
406406 token : ${{ secrets.GITHUB_TOKEN }}
407407
408+ - name : Fetch base branch for commit comparison
409+ run : |
410+ BASE_BRANCH="${{ needs.compare-results.outputs.base_branch }}"
411+ if [ -n "$BASE_BRANCH" ]; then
412+ # Fetch just the base branch tip (shallow)
413+ git fetch --depth=1 origin "$BASE_BRANCH:refs/remotes/origin/$BASE_BRANCH" || true
414+ echo "Fetched base branch: $BASE_BRANCH"
415+ fi
416+
408417 - name : Download kernel compilation logs
409418 uses : actions/download-artifact@v4
410419 with :
You can’t perform that action at this time.
0 commit comments