diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 1b4c414e1..d39024c95 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -13,7 +13,7 @@ jobs:
     name: Check track configuration
     runs-on: ubuntu-22.04
     steps:
-      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+      - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
         with:
           # main is needed in addition to HEAD, because the README check only
           # checks exercises changed since main. This fetches the entire repo's
@@ -65,7 +65,7 @@ jobs:
           # and an admin only needs to make "Check exercises (lts-from-exercises)" required.
           - lts-from-exercises
     steps:
-      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+      - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
 
       - name: Install yq (for stack resolvers)
         run: |