Skip to content

Commits

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 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 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. 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 Apr 22, 2021

  1. Copy the full SHA
    8c91ba8 View commit details

Commits on Mar 16, 2021

  1. 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
    Copy the full SHA
    bb51ece View commit details

Commits on Feb 1, 2021

  1. Allow overriding path of temporary files.

    Chris Gavin committed Feb 1, 2021
    Copy the full SHA
    ed751ec View commit details

Commits on Jan 22, 2021

  1. Swap method naming to account for new functionality

    Simon Engledew committed Jan 22, 2021
    Copy the full SHA
    795b192 View commit details
  2. Correctly report WorkflowMissing

    Simon Engledew committed Jan 22, 2021
    Copy the full SHA
    28e2860 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 Dec 7, 2020

  1. Merge branch 'main' into robertbrignull/meta

    Robin Neatherway committed Dec 7, 2020
    Copy the full SHA
    d0d858c View commit details

Commits on Dec 1, 2020

  1. Just convert the pattern into a RegExp...

    Simon Engledew committed Dec 1, 2020
    Copy the full SHA
    698e2a5 View commit details
  2. Do not show lint failed in the UX if it happens

    Simon Engledew committed Dec 1, 2020
    Copy the full SHA
    56b1ead 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
  2. Merge branch 'main' into simon-engledew/lint-workspace

    Simon Engledew committed Nov 26, 2020
    Copy the full SHA
    92df387 View commit details
  3. Implement feedback

    Simon Engledew committed Nov 26, 2020
    Copy the full SHA
    be09fb3 View commit details

Commits on Nov 25, 2020

  1. Run npm run build

    Eric Cornelissen committed Nov 25, 2020
    Copy the full SHA
    e6ea8cb View commit details

Commits on Nov 24, 2020

  1. Merge branch 'main' into simon-engledew/lint-workspace

    Simon Engledew committed Nov 24, 2020
    Copy the full SHA
    1020df5 View commit details
  2. Copy the full SHA
    2ac22e8 View commit details
  3. Make anonymous objects into variables for readability

    Sam Partington committed Nov 24, 2020
    Copy the full SHA
    3ee4739 View commit details
  4. Do not fail if the workflow has been deleted

    Simon Engledew committed Nov 24, 2020
    Copy the full SHA
    6df1fc5 View commit details
  5. Write a warning if there is an error with the workflow

    Simon Engledew committed Nov 24, 2020
    Copy the full SHA
    33bb875 View commit details

Commits on Nov 23, 2020

  1. Copy the full SHA
    20567b5 View commit details

Commits on Nov 19, 2020

  1. Scanning endpoint failures should not halt the scan

    Simon Engledew committed Nov 19, 2020
    Copy the full SHA
    eb4226e View commit details

Commits on Nov 12, 2020

  1. Copy the full SHA
    80b43ca View commit details

Commits on Nov 4, 2020

  1. Move setOutput into try block in case it errors

    Simon Engledew committed Nov 4, 2020
    Copy the full SHA
    54f3e52 View commit details
  2. Report the path of CodeQL as an output

    Simon Engledew committed Nov 4, 2020
    Copy the full SHA
    854109f View commit details

Commits on Oct 30, 2020

  1. Log a warning if the API version is not supported.

    Chris Gavin committed Oct 30, 2020
    Copy the full SHA
    1220ae5 View commit details

Commits on Oct 27, 2020

  1. Use setup-python-dependencies input

    David Verdeguer committed Oct 27, 2020
    Copy the full SHA
    4575212 View commit details

Commits on Oct 6, 2020

  1. Guard python deps install

    David Verdeguer committed Oct 6, 2020
    Copy the full SHA
    d81cc67 View commit details
Older