diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 613ea86..afeaec3 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -63,7 +63,7 @@ jobs:
       with:
         # languages: ${{ matrix.language }}
         # build-mode: ${{ matrix.build-mode }}
-        packs: codeql/java-queries:Security/CWE/CWE-020/UntrustedDataToExternalAPI.ql
+        packs: ${{ matrix.packs }}
         # If you wish to specify custom queries, you can do so here or in a config file.
         # By default, queries listed here will override any specified in a config file.
         # Prefix the list here with "+" to use these queries and those in the config file.