Skip to content

Commits

Commits on Aug 18, 2021

  1. Enforce a minimum version of CodeQL CLI

    Edoardo Pirovano committed Aug 18, 2021

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    70d2efc 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 Jul 27, 2021

  1. Rebuild after TypeScript version bump

    Edoardo Pirovano committed Jul 27, 2021

    Unverified

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

Commits on Jul 14, 2021

  1. Rename checkoutPath to either workspacePath or sourceRoot

    Arthur Baars committed Jul 14, 2021
    Copy the full SHA
    f94f1ed View commit details

Commits on Jun 29, 2021

  1. Add 'source-root' input to init action

    This input is exposed in the CodeQL CLI as the flag --source-root, allowing
    users of the CLI to set --source-root different from --working-dir. However,
    in codeql-action, these two paths are conflated and it poses problems for
    users with complicated build environments, in which a source root may be
    a child of the working directory.
    
    Most users should not notice this, as the default value is
    ${{ github.workspace }}, as it is implied now (`path.resolve()`).
    Mario Campos committed Jun 29, 2021
    Copy the full SHA
    42babdf View commit details

Commits on Jun 28, 2021

  1. Support splitting of DB creation and query execution

    Edoardo Pirovano committed Jun 28, 2021

    Unverified

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

Commits on Jun 25, 2021

  1. Add extra integration test for packaging

    Also, update the options and inputs documentation.
    Andrew Eisenberg committed Jun 25, 2021
    Copy the full SHA
    4087f37 View commit details

Commits on Jun 23, 2021

  1. Add new packs input to init action

    This input allows users to specify which packs to run. It works in
    unison with the packs block of the config file and it is similar to
    how `queries` works. They both use `+` in the same way.
    
    Note that the `#TODO` in the pr check is still around, but the CLI
    is available. I will remove the TODO in the next commit.
    Andrew Eisenberg committed Jun 23, 2021
    Copy the full SHA
    6e577cf View commit details

Commits on Jun 2, 2021

  1. 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 Jun 1, 2021

  1. Use commander preAction hook for setMode

    Hooks are new to commander v8. We can use hooks to ensure that `setMode`
    is called before every command is invoked.
    Andrew Eisenberg committed Jun 1, 2021
    Copy the full SHA
    539d968 View commit details

Commits on May 31, 2021

  1. Use the version from package.json in the runner

    Andrew Eisenberg committed May 31, 2021
    Copy the full SHA
    1a4cdd3 View commit details
  2. 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 10, 2021

  1. Merge branch 'main' into daverlo/categoryInput

    David Verdeguer committed May 10, 2021
    Copy the full SHA
    ea18d47 View commit details

Commits on May 5, 2021

  1. Update src/runner.ts

    Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
    Henning Makholm and Andrew Eisenberg committed May 5, 2021
    Copy the full SHA
    a6ebb19 View commit details
  2. fix value escaping in codeql-env.sh

    Henning Makholm committed May 5, 2021
    Copy the full SHA
    e7e64d5 View commit details

Commits on May 3, 2021

  1. Use the category on the runner

    David Verdeguer committed May 3, 2021
    Copy the full SHA
    aa53f64 View commit details
  2. Forward category input to codeql cli

    David Verdeguer committed May 3, 2021
    Copy the full SHA
    c93cbc9 View commit details

Commits on Apr 29, 2021

  1. Add category option to runner

    David Verdeguer committed Apr 29, 2021
    Copy the full SHA
    c6e734c View commit details

Commits on Apr 22, 2021

  1. Copy the full SHA
    8c91ba8 View commit details

Commits on Apr 16, 2021

  1. [Runner] Throw error on unknown option in init command

    And explicitly document the advanced --trace-process-name and
    --trace-process-level args.
    Andrew Eisenberg committed Apr 16, 2021
    Copy the full SHA
    c87ee1c 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
  2. Copy the full SHA
    d698cb3 View commit details

Commits on Mar 7, 2021

  1. When downloading the CodeQL bundle, only use the GitHub AE endpoint o…

    …n GitHub AE, and check it first.
    Chris Gavin committed Mar 7, 2021

    Unverified

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

Commits on Feb 17, 2021

  1. set externalRepoAuth

    Robert authored and Andrew Eisenberg committed Feb 17, 2021
    Copy the full SHA
    a265353 View commit details

Commits on Feb 16, 2021

  1. Remove --external-repository-token option from runner

    Specifying a token as a cli input leads to a potential for leaking the
    token on CI logs. This commit removes the option. Instead, users
    should specify a single GitHub token through `--github-auth-stdin` or
    by setting the `GITHUB_TOKEN` environment variable. This token should be
    created with enough privileges to access the required repository.
    Andrew Eisenberg committed Feb 16, 2021
    Copy the full SHA
    58defc0 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 Jan 19, 2021

  1. only insert external repos token if supplied

    Robert committed Jan 19, 2021
    Copy the full SHA
    cb574a7 View commit details

Commits on Jan 12, 2021

  1. Introduce external repository token

    Robert committed Jan 12, 2021
    Copy the full SHA
    90d1a31 View commit details

Commits on Jan 6, 2021

  1. Copy the full SHA
    c7275a7 View commit details
  2. Copy the full SHA
    54e0c67 View commit details

Commits on Dec 22, 2020

  1. Retrieve GitHubVersion when used rather than passing around

    Sam Partington committed Dec 22, 2020
    Copy the full SHA
    6de1b75 View commit details
  2. Merge branch 'main' into split-upload-method

    Sam Partington committed Dec 22, 2020
    Copy the full SHA
    82a8fa4 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 27, 2020

  1. Copy the full SHA
    ff28c8d View commit details
Older