diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 809fa12a706e2115f90fd6dbbc72bfa1e1934999..7182062c7c2618cc665394383b1c125da1c14944 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -30,7 +30,7 @@ jobs:
 
       # Initializes the CodeQL tools for scanning.
       - name: Initialize CodeQL
-        uses: github/codeql-action/init@4c1021c5041fca6023824e45efb7f83178d52fe2 # tag=v1.1.6
+        uses: github/codeql-action/init@28eead240834b314f7def40f6fcba65d100d99b1 # tag=v2.1.6
         with:
           languages: javascript
 
@@ -40,7 +40,7 @@ jobs:
       # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
       # If this step fails, then you should remove it and run the build manually (see below)
       - name: Autobuild
-        uses: github/codeql-action/autobuild@4c1021c5041fca6023824e45efb7f83178d52fe2 # tag=v1.1.6
+        uses: github/codeql-action/autobuild@28eead240834b314f7def40f6fcba65d100d99b1 # tag=v2.1.6
 
       # â„šī¸ Command-line programs to run using the OS shell.
       # 📚 https://git.io/JvXDl
@@ -54,4 +54,4 @@ jobs:
       #   make release
 
       - name: Perform CodeQL Analysis
-        uses: github/codeql-action/analyze@4c1021c5041fca6023824e45efb7f83178d52fe2 # tag=v1.1.6
+        uses: github/codeql-action/analyze@28eead240834b314f7def40f6fcba65d100d99b1 # tag=v2.1.6