Skip to content

Commits

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

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    0c4306b 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. Merge branch 'main' into aeisenberg/env-vars

    Andrew Eisenberg committed Jun 2, 2021
    Copy the full SHA
    082575f View commit details
  3. 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
  4. 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

    Unverified

    No user is associated with the committer email.
    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

    Unverified

    No user is associated with the committer email.
    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

    Unverified

    No user is associated with the committer email.
    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

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    5261491 View commit details

Commits on Nov 30, 2020

  1. Use version information to construct payload

    Robin Neatherway committed Nov 30, 2020
    Copy the full SHA
    dff118f View commit details

Commits on Nov 26, 2020

  1. Request meta endpoint at the start of execution

    Robert committed Nov 26, 2020
    Copy the full SHA
    81a21bf View commit details

Commits on Oct 5, 2020

  1. Use GITHUB_DOTCOM_URL so URL deduplication works

    Robert Brignull committed Oct 5, 2020
    Copy the full SHA
    b185050 View commit details

Commits on Sep 28, 2020

  1. Make URL parsing more robust

    Robert Brignull committed Sep 28, 2020
    Copy the full SHA
    c4dc1b0 View commit details

Commits on Sep 15, 2020

  1. Introduce actions-util.ts

    Robert Brignull committed Sep 15, 2020
    Copy the full SHA
    121fd33 View commit details

Commits on Sep 14, 2020

  1. Running lint-fix

    Chris Raynor committed Sep 14, 2020

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    a184d50 View commit details

Commits on Sep 10, 2020

  1. add optional workflow input to specify whether snippets are added to …

    …sarif output
    Nick Fyson committed Sep 10, 2020
    Copy the full SHA
    77f767c View commit details

Commits on Sep 1, 2020

  1. Add --ram and --threads args

    Robert Brignull committed Sep 1, 2020
    Copy the full SHA
    4c00c68 View commit details

Commits on Aug 28, 2020

  1. use ToolRunner directly instead of exec wrapper

    Robert Brignull committed Aug 28, 2020
    Copy the full SHA
    c3d6602 View commit details

Commits on Aug 26, 2020

  1. Fix use of wrong URL

    Robert Brignull committed Aug 26, 2020
    Copy the full SHA
    f5d645f View commit details
  2. Convert rest of the actions

    Robert Brignull committed Aug 26, 2020
    Copy the full SHA
    217483d View commit details

Commits on Aug 24, 2020

  1. Break out tracer-config.ts

    Robert Brignull committed Aug 24, 2020
    Copy the full SHA
    407ef0a View commit details

Commits on Aug 19, 2020

  1. remove direct accesses to RUNNER_TEMP

    Robert Brignull committed Aug 19, 2020
    Copy the full SHA
    360e77a View commit details

Commits on Aug 18, 2020

  1. add getExtraOptions utility

    Esben Sparre Andreasen committed Aug 18, 2020
    Copy the full SHA
    c2b7b7f View commit details

Commits on Aug 17, 2020

  1. move maxThreads outside of loop

    Robert Brignull committed Aug 17, 2020
    Copy the full SHA
    5eb3736 View commit details

Commits on Aug 14, 2020

  1. use all available threads for analysis

    Robert Brignull committed Aug 14, 2020
    Copy the full SHA
    aaeb975 View commit details
Older