mirror of
https://github.com/github/codeql.git
synced 2026-01-29 06:12:58 +01:00
Suites: Switch to the queries directive
The addition of the `defaultSuite` directive means that using the `qlpack` directive in a query suite will only return the queries in the default suite, not _all_ the queries in the pack as was the prior behaviour. This change ensures that all query suites resolve to the same queries as before.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
- description: Experimental queries showing how we use CodeQL internally for developer happiness
|
||||
- qlpack: codeql-go
|
||||
- queries: .
|
||||
- include:
|
||||
id: go/examples/database-call-in-loop
|
||||
- include:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
- description: Standard LGTM queries for Go, including ones not displayed by default
|
||||
- qlpack: codeql-go
|
||||
- queries: .
|
||||
- apply: lgtm-selectors.yml
|
||||
from: codeql-suite-helpers
|
||||
# These are only for IDE use.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- description: Security-and-quality queries for Go
|
||||
- qlpack: codeql-go
|
||||
- queries: .
|
||||
- apply: security-and-quality-selectors.yml
|
||||
from: codeql-suite-helpers
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- description: Security-extended queries for Go
|
||||
- qlpack: codeql-go
|
||||
- queries: .
|
||||
- apply: security-extended-selectors.yml
|
||||
from: codeql-suite-helpers
|
||||
|
||||
Reference in New Issue
Block a user