Commits
Commits on Feb 4, 2022
-
Update
getMlPoweredJsQueriesStatus
docHenry Mercer committedFeb 4, 2022 Copy the full SHA 501fe7fView commit details -
Add "multiple" report for ML-powered JS query enablement
When multiple ML-powered JS packs are in scope (an unsupported scenario), the status report is "multiple".
Henry Mercer committedFeb 4, 2022 Copy the full SHA 537b2f8View commit details
Commits on Feb 3, 2022
-
Add ML-powered queries enablement to
init
status reportWe report this information in the `init` status report rather than the `analyze` status report so we can gather data about timeouts.
Henry Mercer committedFeb 3, 2022 Copy the full SHA 1cddec9View commit details
Commits on Jan 12, 2022
-
Change category uniqueness test
Turboscan only allows a single combination of tool name and automation details id for testing category uniqueness. Previously, the check in the action was not entirely correct since it only looked at the _category_ and not the combination of the category and the tool name. It's even more precise now since it is looking at the actual, computed value of the automation details id, rather than an inputted value of the category. This change also includes a refactoring where the action is now avoiding multiple parsing/stringifying of the sarif files. Instead, sarif is parsed once at the start of the process and stringified once, after sarif processing is completely finished.
Andrew Eisenberg committedJan 12, 2022 Copy the full SHA 8454e21View commit details
Commits on Jan 11, 2022
-
Edoardo Pirovano committed
Jan 11, 2022 Copy the full SHA d2a0fc8View commit details
Commits on Jan 7, 2022
-
Make name of debugging artifact and DB within it configurable
Edoardo Pirovano committedJan 7, 2022 Copy the full SHA e677af3View commit details
Commits on Dec 9, 2021
-
Refuse to use broken versions in the toolcache
Edoardo Pirovano committedDec 9, 2021 Copy the full SHA 705f634View commit details
Commits on Dec 8, 2021
-
Always use
force: true
for delAndrew Eisenberg committedDec 8, 2021 Copy the full SHA 67d11b5View commit details -
`rmDir` is not available on the node version used by the actions runner. Instead, use the `del` package. It is safe, well-tested, and cross-platform.
Andrew Eisenberg committedDec 8, 2021 Copy the full SHA 45dc27dView commit details
Commits on Dec 1, 2021
-
Delete bundled db before recreating
Robert committedDec 1, 2021 Copy the full SHA c82e09aView commit details
Commits on Nov 17, 2021
-
Add an option to allow waiting until an analysis has been processed b…
…efore finishing the Action.
Chris Gavin committedNov 17, 2021 Copy the full SHA 316ad9dView commit details
Commits on Nov 1, 2021
-
Add an option to upload some debugging artifacts
Edoardo Pirovano committedNov 1, 2021 Copy the full SHA bc31f60View commit details
Commits on Oct 28, 2021
-
Add RAM and threads options to init action
Chuan-kai Lin committedOct 28, 2021 Copy the full SHA 70b730eView commit details
Commits on Sep 23, 2021
-
Edoardo Pirovano committed
Sep 23, 2021 Copy the full SHA 292203eView commit details
Commits on Sep 22, 2021
-
Make use of multi-language and indirect tracing
Edoardo Pirovano committedSep 22, 2021 Copy the full SHA 1f4460bView commit details
Commits on Sep 10, 2021
-
Fix compile errors introduced by typescript 4.4.2
4.4.2 introduces a breaking change that the variable in a catch clause is now `unknown` type. So, we need to cast the `e`, `err`, or `error` variables to type `Error`.
Andrew Eisenberg committedSep 10, 2021 Copy the full SHA 40568daView commit details
Commits on Aug 31, 2021
-
Esben Sparre Andreasen committed
Aug 31, 2021 Copy the full SHA 1c27c52View commit details
Commits on Aug 12, 2021
-
Pass
--ram
flag todatabase finalize
Edoardo Pirovano committedAug 12, 2021 Copy the full SHA 0c4306bView commit details
Commits on Jul 27, 2021
-
Rebuild after TypeScript version bump
Edoardo Pirovano committedJul 27, 2021 Copy the full SHA d9849b8View commit details
Commits on Jun 22, 2021
-
Robert committed
Jun 22, 2021 Copy the full SHA 146c897View commit details
Commits on Jun 3, 2021
-
Cleaning up comments around env vars
Also, move `getTemporaryDirectory` back to `actions-util`.
Andrew Eisenberg committedJun 3, 2021 Copy the full SHA f60ef17View commit details
Commits on Jun 2, 2021
-
Fix Unguarded actions library use code scanning error
Must access the env var directly in order to avoid recursive calls to `getRequiredEnvParam`.
Andrew Eisenberg committedJun 2, 2021 Copy the full SHA cc0733fView commit details -
Remove local environment running
This is a functionality that never worked perfectly and hasn't been used for a while. This allows developers to run the action on their local machine, but the run was always flaky and never 100% mirrored what was happening on the actions runner.
Andrew Eisenberg committedJun 2, 2021 Copy the full SHA 2c2ebdcView commit details -
Add environment variables to signal feature and version to the CLI
This PR ensures environment variables are set before any invocation of the CLI. Here is a list of vars that are set: https://github.com/github/codeql-coreql-team/issues/1124#issuecomment-852463521 This ensures the CLI knows the features and versions of the containing actions/runner. Additionally: - Fix the user agent so that it more closely aligns with user agent spec - Refactor environment variable initialization so that it all happens in one place and call. - Move Mode, getRequiredEnvParam, setMode, getMode out of actions-util and into util. actions-util is meant for utils only called by the action, not the runner. The `prepareLocalRunEnvironment()` method is most likely deprecated and should be removed. I originally added it because I had a way of working where I would run the action from my local machine to test out changes, but this was always a little flaky. So, I no longer use this way of working. I will probably remove it soon.
Andrew Eisenberg committedJun 2, 2021 Copy the full SHA 3708898View commit details
Commits on May 31, 2021
-
Send the version and mode with the user agent
This commit changes the way the action determines if running in action or runner mode. There is now an environment variable that is set at the beginning of the process and elsewhere in the process, we can check to see if the variable is set.
Andrew Eisenberg committedMay 31, 2021 Copy the full SHA 4758879View commit details
Commits on May 17, 2021
-
Add configuration option to set CodeQL DB location
Edoardo Pirovano authored and Edoardo Pirovano committedMay 17, 2021 Copy the full SHA 79c79f1View commit details
Commits on May 13, 2021
-
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.
Andrew Eisenberg committedMay 13, 2021 Copy the full SHA e8b2a98View commit details
Commits on Apr 22, 2021
-
Introduce our own toolcache implementation for use by the runnner
Robert committedApr 22, 2021 Copy the full SHA 8c91ba8View commit details
Commits on Mar 18, 2021
-
spelling: executable spelling: github spelling: javascript spelling: latest spelling: occurred spelling: parameter Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref authored and Andrew Eisenberg committedMar 18, 2021 Copy the full SHA c4fced7View commit details
Commits on Mar 16, 2021
-
call setupActionsVars in the tests too
Robert committedMar 16, 2021 Copy the full SHA 378f30fView commit details
Commits on Feb 16, 2021
-
Increase the default amount of RAM reserved for the OS
Mitigation for OOM errors (137/SIGKILL) seen by users when we overcommit the available memory. For Unix, reserve 1GB. For Windows, reserve 1.5GB, as the OS needs more memory and estimates inaccurately.
Aditya Sharad committedFeb 16, 2021 Copy the full SHA 4c94e29View commit details -
Add capability to specify auth from env var or stdin
This commit adds two new ways of specifying GitHub auth: 1. from the GITHUB_TOKEN environment variable 2. from standard input This commit does not include any documentation changes and the descriptions of new command line options will need to be tweaked.
Andrew Eisenberg authored and Andrew Eisenberg committedFeb 16, 2021 Copy the full SHA 88714e3View commit details
Commits on Feb 15, 2021
-
Convert GitHub variant to an enum.
Chris Gavin committedFeb 15, 2021 Copy the full SHA c9ca4ecView commit details
Commits on Feb 13, 2021
-
Chris Gavin committed
Feb 13, 2021 Copy the full SHA 0656b2cView commit details
Commits on Jan 26, 2021
-
Fix the formatting of a warning message.
Chris Gavin committedJan 26, 2021 Copy the full SHA 5261491View commit details