To reproduce:
Create any Actions database (codeql database create -l actions ...)
Select the database in VSCode
Create a Quick Query
Observe that the qlpack.yml file created depends on javascript-all, and so the import actions line in the fresh query doesn't resolve.
Cause is https://github.com/github/vscode-codeql/blob/main/extensions/ql-vscode/src/databases/qlpack.ts#L28 matching qlpacks vs. dbschemes, and the Actions extractor using the JavaScript dbscheme.
Possible solutions could include looking at the codeql-database.yml file, or having the Actions extractor rename the dbscheme file after invoking the JS autobuilder such that the database can be distinguished from a JS database using the existing dbscheme name heuristic.