build(deps): bump actions/checkout from 4 to 6 (#6047)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2026-03-18 22:01:28 +08:00 committed by GitHub
parent 1ba0cb22c6
commit a8f0680c44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@
# needs: real_pr_shas
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# uses: actions/checkout@v6
# with:
# fetch-depth: 0 # Full history needed for commit scanning
# ```
@ -56,7 +56,7 @@ jobs:
output_head: ${{ steps.get_shas.outputs.HEAD_SHA }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
- id: get_shas
run: |
git fetch --no-tags --prune --no-recurse-submodules --depth=$((${{ github.event.pull_request.commits }} + 1)) origin ${{ github.event.pull_request.head.sha }}