mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 19:50:32 +08:00
Rename ML powered JS queries status report field
The new name `ml_powered_javascript_queries` is more consistent with status report fields for analysis and interpretation duration metrics. This isn't a breaking change since the old name never made it into the GitHub API.
This commit is contained in:
@@ -58,7 +58,7 @@ interface InitSuccessStatusReport extends StatusReportBase {
|
||||
*
|
||||
* @see {@link getMlPoweredJsQueriesStatus}
|
||||
*/
|
||||
ml_powered_js_queries: string;
|
||||
ml_powered_javascript_queries: string;
|
||||
/** Comma-separated list of paths, from the 'paths' config field. */
|
||||
paths: string;
|
||||
/** Comma-separated list of paths, from the 'paths-ignore' config field. */
|
||||
@@ -114,7 +114,7 @@ async function sendSuccessStatusReport(
|
||||
...statusReportBase,
|
||||
disable_default_queries: disableDefaultQueries,
|
||||
languages,
|
||||
ml_powered_js_queries: getMlPoweredJsQueriesStatus(config),
|
||||
ml_powered_javascript_queries: getMlPoweredJsQueriesStatus(config),
|
||||
paths,
|
||||
paths_ignore: pathsIgnore,
|
||||
queries: queries.join(","),
|
||||
|
||||
Reference in New Issue
Block a user