codeql-action/lib
Andrew Eisenberg 6fabde2be8 Add packs and queries from input
This commit adds the packs and queries from the actions input to the
config file used by the CodeQL CLI.

When the `+` is used, the actions input value is combined with the
config value and when it is not used, the input value overrides the
config value.

This commit also adds a bunch of integration tests for this feature.
In order to avoid adding too many new jobs, all of the tests are
run sequentially in a single job (matrixed across relevant operating
systems and OSes).
2022-06-28 14:07:51 -07:00
..
testdata Avoid analyzing excluded language files for line counting 2021-04-28 16:07:55 -07:00
actions-util.js Factor out test mode determination code 2022-04-28 19:13:22 +01:00
actions-util.js.map Add typings for js-yaml 2022-06-14 07:50:47 -07:00
actions-util.test.js Fix failing tests 2022-03-25 10:00:47 -07:00
actions-util.test.js.map Add typings for js-yaml 2022-06-14 07:50:47 -07:00
analysis-paths.js Update warning about interpreted languages to mention Ruby 2022-01-14 11:57:29 +00:00
analysis-paths.js.map Update warning about interpreted languages to mention Ruby 2022-01-14 11:57:29 +00:00
analysis-paths.test.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
analysis-paths.test.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
analyze-action-env.test.js Fix integration tests on v1 2022-05-11 15:53:57 +01:00
analyze-action-env.test.js.map Fix integration tests on v1 2022-05-11 15:53:57 +01:00
analyze-action-input.test.js Fix integration tests on v1 2022-05-11 15:53:57 +01:00
analyze-action-input.test.js.map Fix integration tests on v1 2022-05-11 15:53:57 +01:00
analyze-action.js Honor the Lua tracer FF for database trace-command invocations for scanned languages. 2022-06-27 16:04:29 +00:00
analyze-action.js.map Honor the Lua tracer FF for database trace-command invocations for scanned languages. 2022-06-27 16:04:29 +00:00
analyze.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
analyze.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
analyze.test.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
analyze.test.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
api-client.js Include CodeQL CLI and action versions in status reports 2022-03-17 10:07:29 -07:00
api-client.js.map Include CodeQL CLI and action versions in status reports 2022-03-17 10:07:29 -07:00
api-client.test.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
api-client.test.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
api-compatibility.json Update supported GitHub Enterprise Server versions. 2022-06-16 00:11:36 +00:00
autobuild-action.js Prompt customers to upgrade from v1 to v2 2022-04-27 16:11:24 +01:00
autobuild-action.js.map Prompt customers to upgrade from v1 to v2 2022-04-27 16:11:24 +01:00
autobuild.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
autobuild.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
codeql.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
codeql.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
codeql.test.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
codeql.test.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
config-utils.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
config-utils.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
config-utils.test.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
config-utils.test.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
count-loc.js Remove old baseline LoC injection 2021-08-26 13:46:22 +01:00
count-loc.js.map Remove old baseline LoC injection 2021-08-26 13:46:22 +01:00
count-loc.test.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
count-loc.test.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
database-upload.js Remove check of database uploads feature flag 2022-02-15 14:10:33 +00:00
database-upload.js.map Remove check of database uploads feature flag 2022-02-15 14:10:33 +00:00
database-upload.test.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
database-upload.test.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
defaults.json Update default CodeQL version to 2.10.0 2022-06-27 09:01:12 -07:00
error-matcher.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
error-matcher.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
error-matcher.test.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
error-matcher.test.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
external-queries.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
external-queries.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
external-queries.test.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
external-queries.test.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
feature-flags.js Introduce a feature-flag to enable/disable lua-based tracing. 2022-05-16 09:16:38 +00:00
feature-flags.js.map Fix linter errors. 2022-05-16 09:40:10 +00:00
feature-flags.test.js Introduce a feature-flag to enable/disable lua-based tracing. 2022-05-16 09:16:38 +00:00
feature-flags.test.js.map Fix linter errors. 2022-05-16 09:40:10 +00:00
fingerprints.js Change category uniqueness test 2022-01-12 15:26:34 -08:00
fingerprints.js.map Change category uniqueness test 2022-01-12 15:26:34 -08:00
fingerprints.test.js Change category uniqueness test 2022-01-12 15:26:34 -08:00
fingerprints.test.js.map Change category uniqueness test 2022-01-12 15:26:34 -08:00
init-action.js Introduce a feature-flag to enable/disable lua-based tracing. 2022-05-16 09:16:38 +00:00
init-action.js.map Fix linter errors. 2022-05-16 09:40:10 +00:00
init.js Introduce a feature-flag to enable/disable lua-based tracing. 2022-05-16 09:16:38 +00:00
init.js.map Fix linter errors. 2022-05-16 09:40:10 +00:00
languages.js Add Swift as a supported language. 2022-05-27 16:29:13 +01:00
languages.js.map Add Swift as a supported language. 2022-05-27 16:29:13 +01:00
languages.test.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
languages.test.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
logging.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
logging.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
repository.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
repository.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
runner.js Honor the Lua tracer FF for database trace-command invocations for scanned languages. 2022-06-27 16:04:29 +00:00
runner.js.map Honor the Lua tracer FF for database trace-command invocations for scanned languages. 2022-06-27 16:04:29 +00:00
shared-environment.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
shared-environment.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
testing-utils.js Fix failing tests 2022-03-25 10:00:47 -07:00
testing-utils.js.map Fix failing tests 2022-03-25 10:00:47 -07:00
toolcache.js Remove rmDir references 2021-12-08 12:11:31 -08:00
toolcache.js.map Bump @actions/tool-cache to 2.0.0 2022-05-13 11:54:40 +01:00
toolrunner-error-catcher.js Stop printing all output twice. 2021-12-09 13:21:32 +00:00
toolrunner-error-catcher.js.map Stop printing all output twice. 2021-12-09 13:21:32 +00:00
toolrunner-error-catcher.test.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
toolrunner-error-catcher.test.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
tracer-config.js Improve error handling for ending tracing 2022-02-23 16:43:38 +00:00
tracer-config.js.map Improve error handling for ending tracing 2022-02-23 16:43:38 +00:00
tracer-config.test.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
tracer-config.test.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
upload-lib.js Fix processing errors being caught and logged as a warning rather than failing the workflow run. 2022-05-03 10:06:19 +01:00
upload-lib.js.map Fix processing errors being caught and logged as a warning rather than failing the workflow run. 2022-05-03 10:06:19 +01:00
upload-lib.test.js Detect merge base as base_sha for upload 2022-02-01 15:38:43 +00:00
upload-lib.test.js.map Detect merge base as base_sha for upload 2022-02-01 15:38:43 +00:00
upload-sarif-action.js Don't wait for processing in test mode 2022-04-28 19:14:14 +01:00
upload-sarif-action.js.map Don't wait for processing in test mode 2022-04-28 19:14:14 +01:00
util.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
util.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00
util.test.js Add packs and queries from input 2022-06-28 14:07:51 -07:00
util.test.js.map Add packs and queries from input 2022-06-28 14:07:51 -07:00