diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 93b24f329b846..c120364566419 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,12 +11,12 @@ jobs:
     runs-on: windows-latest
     steps:
       - name: Checkout Bucket
-        uses: actions/checkout@v2
+        uses: actions/checkout@main
         with:
           fetch-depth: 2
           path: 'my_bucket'
       - name: Checkout Scoop
-        uses: actions/checkout@v2
+        uses: actions/checkout@main
         with:
           repository: ScoopInstaller/Scoop
           path: 'scoop_core'
@@ -31,12 +31,12 @@ jobs:
     runs-on: windows-latest
     steps:
       - name: Checkout Bucket
-        uses: actions/checkout@v2
+        uses: actions/checkout@main
         with:
           fetch-depth: 2
           path: 'my_bucket'
       - name: Checkout Scoop
-        uses: actions/checkout@v2
+        uses: actions/checkout@main
         with:
           repository: ScoopInstaller/Scoop
           path: 'scoop_core'