Skip to content

Commits

Commits on Feb 4, 2022

  1. Update getMlPoweredJsQueriesStatus doc

    Henry Mercer committed Feb 4, 2022
    Copy the full SHA
    501fe7f View commit details
  2. 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 committed Feb 4, 2022
    Copy the full SHA
    537b2f8 View commit details

Commits on Feb 3, 2022

  1. Add ML-powered queries enablement to init status report

    We report this information in the `init` status report rather than the
    `analyze` status report so we can gather data about timeouts.
    Henry Mercer committed Feb 3, 2022
    Copy the full SHA
    1cddec9 View commit details

Commits on Jan 12, 2022

  1. 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 committed Jan 12, 2022
    Copy the full SHA
    8454e21 View commit details

Commits on Jan 11, 2022

  1. Refuse to run on Windows 11

    Edoardo Pirovano committed Jan 11, 2022
    Copy the full SHA
    d2a0fc8 View commit details

Commits on Jan 7, 2022

  1. Make name of debugging artifact and DB within it configurable

    Edoardo Pirovano committed Jan 7, 2022
    Copy the full SHA
    e677af3 View commit details

Commits on Dec 9, 2021

  1. Refuse to use broken versions in the toolcache

    Edoardo Pirovano committed Dec 9, 2021
    Copy the full SHA
    705f634 View commit details

Commits on Dec 8, 2021

  1. Always use force: true for del

    Andrew Eisenberg committed Dec 8, 2021
    Copy the full SHA
    67d11b5 View commit details
  2. Remove rmDir references

    `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 committed Dec 8, 2021
    Copy the full SHA
    45dc27d View commit details

Commits on Dec 1, 2021

  1. Delete bundled db before recreating

    Robert committed Dec 1, 2021
    Copy the full SHA
    c82e09a View commit details

Commits on Nov 17, 2021

  1. Add an option to allow waiting until an analysis has been processed b…

    …efore finishing the Action.
    Chris Gavin committed Nov 17, 2021
    Copy the full SHA
    316ad9d View commit details

Commits on Nov 1, 2021

  1. Add an option to upload some debugging artifacts

    Edoardo Pirovano committed Nov 1, 2021
    Copy the full SHA
    bc31f60 View commit details

Commits on Oct 28, 2021

  1. Add RAM and threads options to init action

    Chuan-kai Lin committed Oct 28, 2021
    Copy the full SHA
    70b730e View commit details

Commits on Sep 23, 2021

  1. Remove calls to fs.rmdirSync

    Edoardo Pirovano committed Sep 23, 2021
    Copy the full SHA
    292203e View commit details

Commits on Sep 22, 2021

  1. Make use of multi-language and indirect tracing

    Edoardo Pirovano committed Sep 22, 2021
    Copy the full SHA
    1f4460b View commit details

Commits on Sep 10, 2021

  1. 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 committed Sep 10, 2021
    Copy the full SHA
    40568da View commit details

Commits on Aug 31, 2021

  1. Fix typo in docstring

    Esben Sparre Andreasen committed Aug 31, 2021
    Copy the full SHA
    1c27c52 View commit details

Commits on Aug 12, 2021

  1. Pass --ram flag to database finalize

    Edoardo Pirovano committed Aug 12, 2021
    Copy the full SHA
    0c4306b View commit details

Commits on Jul 27, 2021

  1. Rebuild after TypeScript version bump

    Edoardo Pirovano committed Jul 27, 2021
    Copy the full SHA
    d9849b8 View commit details

Commits on Jun 22, 2021

  1. Upload CodeQL databases

    Robert committed Jun 22, 2021
    Copy the full SHA
    146c897 View commit details

Commits on Jun 3, 2021

  1. Cleaning up comments around env vars

    Also, move `getTemporaryDirectory` back to `actions-util`.
    Andrew Eisenberg committed Jun 3, 2021
    Copy the full SHA
    f60ef17 View commit details

Commits on Jun 2, 2021

  1. Fix Unguarded actions library use code scanning error

    Must access the env var directly in order to avoid recursive calls to 
    `getRequiredEnvParam`.
    Andrew Eisenberg committed Jun 2, 2021
    Copy the full SHA
    cc0733f View commit details
  2. 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 committed Jun 2, 2021
    Copy the full SHA
    2c2ebdc View commit details
  3. 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 committed Jun 2, 2021
    Copy the full SHA
    3708898 View commit details

Commits on May 31, 2021

  1. 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 committed May 31, 2021
    Copy the full SHA
    4758879 View commit details

Commits on May 17, 2021

  1. Add configuration option to set CodeQL DB location

    Edoardo Pirovano authored and Edoardo Pirovano committed May 17, 2021
    Copy the full SHA
    79c79f1 View commit details

Commits on May 13, 2021

  1. 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 committed May 13, 2021
    Copy the full SHA
    e8b2a98 View commit details

Commits on Apr 22, 2021

  1. Copy the full SHA
    8c91ba8 View commit details

Commits on Mar 18, 2021

  1. Fix spelling errors

    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 committed Mar 18, 2021
    Copy the full SHA
    c4fced7 View commit details

Commits on Mar 16, 2021

  1. call setupActionsVars in the tests too

    Robert committed Mar 16, 2021
    Copy the full SHA
    378f30f View commit details

Commits on Feb 16, 2021

  1. 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 committed Feb 16, 2021
    Copy the full SHA
    4c94e29 View commit details
  2. 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 committed Feb 16, 2021
    Copy the full SHA
    88714e3 View commit details

Commits on Feb 15, 2021

  1. Convert GitHub variant to an enum.

    Chris Gavin committed Feb 15, 2021
    Copy the full SHA
    c9ca4ec View commit details

Commits on Feb 13, 2021

  1. Add detection for GitHub AE.

    Chris Gavin committed Feb 13, 2021
    Copy the full SHA
    0656b2c View commit details

Commits on Jan 26, 2021

  1. Fix the formatting of a warning message.

    Chris Gavin committed Jan 26, 2021
    Copy the full SHA
    5261491 View commit details
Older