Run CodeQL analysis (javascript) on a particular sub-directory in a repo #14320
Replies: 3 comments
-
|
You need to create a code scanning configuration file and specify a And then you also need to change the |
Beta Was this translation helpful? Give feedback.
This comment was marked as low quality.
This comment was marked as low quality.
-
|
I think the missing piece is that the To restrict the actual CodeQL analysis to one microservice, add a CodeQL config file and use For example: # .github/codeql/codeql-microservice1.yml
name: "CodeQL config - microservice1"
paths:
- app1/services/microservice1 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a repo with many microservices each will have separate CI pipeline in the same repo. I need to scan each microservices separately, which are in separate directory.
I tried following code
But this is scanning the entire repo and services not only limited to microservice1
Beta Was this translation helpful? Give feedback.
All reactions