git: 6df532f5821f - stable/15 - .github: Update actions version to 7

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 19 Nov 2026 14:45:55 UTC
The branch stable/15 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=6df532f5821fdcb1a70c4a5bd54fc5f97dbbc4e5

commit 6df532f5821fdcb1a70c4a5bd54fc5f97dbbc4e5
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-11-09 18:21:36 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-11-19 14:44:48 +0000

    .github: Update actions version to 7
    
    version 4 raises warnings when run as the runners force it to use Node
    24 instead of Node 20.  version 5 defaults to Node 24, but version 7
    is the current version.
    
    Reviewed by:    emaste
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/2477
    
    (cherry picked from commit 17a42690bbd70c306dd19981953f30c72563ed2f)
---
 .github/workflows/cross-bootstrap-tools.yml | 2 +-
 .github/workflows/style.yml                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cross-bootstrap-tools.yml b/.github/workflows/cross-bootstrap-tools.yml
index d8893a6ecff8..9e5fbdfed303 100644
--- a/.github/workflows/cross-bootstrap-tools.yml
+++ b/.github/workflows/cross-bootstrap-tools.yml
@@ -38,7 +38,7 @@ jobs:
           - target_arch: aarch64
             target: arm64
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v7
       - name: install packages (Ubuntu)
         if: runner.os == 'Linux'
         run: |
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index da7032e03eae..b8949c15be96 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -22,7 +22,7 @@ jobs:
         run: |
           echo "DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> $GITHUB_ENV
       - name: checkout
-        uses: actions/checkout@v4
+        uses: actions/checkout@v7
         with:
           fetch-depth: ${{ env.DEPTH }}
           ref: ${{ github.event.pull_request.head.sha }}