Auto update CodeQL database #23946
-
Hi, I’m trying to learn how to write my own CodeQL queries. But any time I change my source code, I need to create a new database |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @vovikhangcdv , Unfortunately, there is no solution to auto-update the CodeQL database. |
Beta Was this translation helpful? Give feedback.
Hi @vovikhangcdv ,
great that you’re learning CodeQL!
Unfortunately, there is no solution to auto-update the CodeQL database.
There is a CodeQL action, so that you can get a database (and run the analysis) as part of a CI setup, but I don’t think that that’s very useful if you’re iterating (mostly) on the queries.
Maybe you can write a shell script that contains all the relevant commands?