codeql-action/lib
Andrew Eisenberg e8b2a9884b Use the prefix id for keying into metrics rules
Fixes a bug where we were looking for incorrect keys for metrics rules.
Previously, we were using full language names in the keys. Now, we use
the short language names in the metric ids. This is done through a
simplification of the code.

Also, this change does two smaller things:

1. Prints out the baseline count to the logs
2. Adds the `assertNever` function to ensure we never miss a case in
   a switch statement. This function is borrowed from vscode-codeql.
2021-05-13 11:11:13 -07:00
..
testdata Avoid analyzing excluded language files for line counting 2021-04-28 16:07:55 -07:00
actions-util.js Fix undefined environment 2021-05-05 15:46:49 +02:00
actions-util.js.map Fix undefined environment 2021-05-05 15:46:49 +02:00
actions-util.test.js Address comments 2021-05-05 12:30:20 +02:00
actions-util.test.js.map Address comments 2021-05-05 12:30:20 +02:00
analysis-paths.js Fix spelling errors 2021-03-18 09:40:47 -07:00
analysis-paths.js.map Run npm run lint-fix. 2020-10-05 12:44:58 +01:00
analysis-paths.test.js Convert GitHub variant to an enum. 2021-02-15 09:30:16 +00:00
analysis-paths.test.js.map Convert GitHub variant to an enum. 2021-02-15 09:30:16 +00:00
analyze-action.js Forward category input to codeql cli 2021-05-03 19:41:53 +02:00
analyze-action.js.map Forward category input to codeql cli 2021-05-03 19:41:53 +02:00
analyze.js Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
analyze.js.map Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
analyze.test.js Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
analyze.test.js.map Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
api-client.js Use externalRepoAuth when getting a remote config 2021-04-09 15:00:57 -07:00
api-client.js.map Use externalRepoAuth when getting a remote config 2021-04-09 15:00:57 -07:00
api-client.test.js Use externalRepoAuth when getting a remote config 2021-04-09 15:00:57 -07:00
api-client.test.js.map Use externalRepoAuth when getting a remote config 2021-04-09 15:00:57 -07:00
api-compatibility.json Update supported GitHub Enterprise Server versions. 2021-02-20 00:26:14 +00:00
autobuild-action.js Allow overriding path of temporary files. 2021-02-01 15:34:13 +00:00
autobuild-action.js.map Allow overriding path of temporary files. 2021-02-01 15:34:13 +00:00
autobuild.js Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
autobuild.js.map Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
codeql.js Merge branch 'main' into daverlo/categoryInput 2021-05-10 14:54:09 +02:00
codeql.js.map Merge branch 'main' into daverlo/categoryInput 2021-05-10 14:54:09 +02:00
codeql.test.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
codeql.test.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
config-utils.js Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
config-utils.js.map Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
config-utils.test.js Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
config-utils.test.js.map Add external git repositories to search path for custom queries 2021-04-21 17:40:56 +01:00
count-loc.js Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
count-loc.js.map Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
count-loc.test.js Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
count-loc.test.js.map Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
defaults.json Update CodeQL bundle to 20210503 / 2.5.4 2021-05-03 14:41:51 -07:00
error-matcher.js Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
error-matcher.js.map Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
error-matcher.test.js Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
error-matcher.test.js.map Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
external-queries.js only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
external-queries.js.map only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
external-queries.test.js only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
external-queries.test.js.map only insert external repos token if supplied 2021-01-19 15:42:57 +00:00
fingerprints.js fix typos in logging 2021-05-06 09:26:42 +01:00
fingerprints.js.map fix typos in logging 2021-05-06 09:26:42 +01:00
fingerprints.test.js Avoid fingerprinting directories 2021-05-05 13:37:17 -07:00
fingerprints.test.js.map Avoid fingerprinting directories 2021-05-05 13:37:17 -07:00
init-action.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
init-action.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
init.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
init.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
languages.js Check CODEQL_EXTRACTOR_GO_BUILD_TRACING 2020-10-30 16:44:11 +00:00
languages.js.map Check CODEQL_EXTRACTOR_GO_BUILD_TRACING 2020-10-30 16:44:11 +00:00
languages.test.js Run npm run build 2020-11-20 11:35:59 +01:00
languages.test.js.map Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
logging.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
logging.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
repository.js Running lint-fix 2020-09-14 10:44:43 +01:00
repository.js.map commit node_modules and generated files 2020-08-11 12:43:27 +01:00
runner.js Merge branch 'main' into daverlo/categoryInput 2021-05-10 14:54:09 +02:00
runner.js.map Merge branch 'main' into daverlo/categoryInput 2021-05-10 14:54:09 +02:00
shared-environment.js Running lint-fix 2020-09-14 10:44:43 +01:00
shared-environment.js.map remove should_abort method 2020-08-07 16:56:04 +01:00
testing-utils.js Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
testing-utils.js.map Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
toolcache.js fix typo 2021-04-23 10:01:50 +01:00
toolcache.js.map use safeWhich 2021-04-23 09:59:23 +01:00
toolrunner-error-catcher.js Run npm run build 2020-11-20 11:35:59 +01:00
toolrunner-error-catcher.js.map Run npm run build 2020-11-20 11:35:59 +01:00
toolrunner-error-catcher.test.js Merge branch 'main' into nickfyson/error_wrapper 2020-09-14 13:30:37 +01:00
toolrunner-error-catcher.test.js.map Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
tracer-config.js Output environment file for Windows 2021-05-10 20:43:49 +01:00
tracer-config.js.map Output environment file for Windows 2021-05-10 20:43:49 +01:00
tracer-config.test.js Output environment file for Windows 2021-05-10 20:43:49 +01:00
tracer-config.test.js.map Output environment file for Windows 2021-05-10 20:43:49 +01:00
upload-lib.js Use actionsUtil.computeAutomationID on upload-lib 2021-05-03 19:56:04 +02:00
upload-lib.js.map Address comments 2021-05-05 12:30:20 +02:00
upload-lib.test.js Use actionsUtil.computeAutomationID on upload-lib 2021-05-03 19:56:04 +02:00
upload-lib.test.js.map Use actionsUtil.computeAutomationID on upload-lib 2021-05-03 19:56:04 +02:00
upload-sarif-action.js Remove parameters from uploadFromActions 2021-01-28 15:37:09 +00:00
upload-sarif-action.js.map Remove parameters from uploadFromActions 2021-01-28 15:37:09 +00:00
util.js Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
util.js.map Use the prefix id for keying into metrics rules 2021-05-13 11:11:13 -07:00
util.test.js Fix spelling errors 2021-03-18 09:40:47 -07:00
util.test.js.map Increase the default amount of RAM reserved for the OS 2021-02-16 15:10:19 -08:00