Commits
Commits on Jun 29, 2021
-
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 committedJun 29, 2021 Copy the full SHA 42babdfView commit details
Commits on Jun 23, 2021
-
Add new
packs
input to init actionThis 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 committedJun 23, 2021 Copy the full SHA 6e577cfView 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
-
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 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 16, 2021
-
Make unguarded-action-lib better at ignoring uses of toolcache
Robert committedMar 16, 2021 Copy the full SHA d698cb3View commit details
Commits on Mar 7, 2021
-
When downloading the CodeQL bundle, only use the GitHub AE endpoint o…
…n GitHub AE, and check it first.
Chris Gavin committedMar 7, 2021 Copy the full SHA bb51eceView commit details
Commits on Feb 1, 2021
-
Allow overriding path of temporary files.
Chris Gavin committedFeb 1, 2021 Copy the full SHA ed751ecView commit details
Commits on Jan 22, 2021
-
Swap method naming to account for new functionality
Simon Engledew committedJan 22, 2021 Copy the full SHA 795b192View commit details -
Correctly report WorkflowMissing
Simon Engledew committedJan 22, 2021 Copy the full SHA 28e2860View commit details
Commits on Jan 19, 2021
-
only insert external repos token if supplied
Robert committedJan 19, 2021 Copy the full SHA cb574a7View commit details
Commits on Jan 12, 2021
-
Introduce external repository token
Robert committedJan 12, 2021 Copy the full SHA 90d1a31View commit details
Commits on Dec 7, 2020
-
Merge branch 'main' into robertbrignull/meta
Robin Neatherway committedDec 7, 2020 Copy the full SHA d0d858cView commit details
Commits on Dec 1, 2020
-
Just convert the pattern into a RegExp...
Simon Engledew committedDec 1, 2020 Copy the full SHA 698e2a5View commit details -
Do not show lint failed in the UX if it happens
Simon Engledew committedDec 1, 2020 Copy the full SHA 56b1eadView commit details
Commits on Nov 30, 2020
-
Use version information to construct payload
Robin Neatherway committedNov 30, 2020 Copy the full SHA dff118fView commit details
Commits on Nov 26, 2020
-
Request meta endpoint at the start of execution
Robert committedNov 26, 2020 Copy the full SHA 81a21bfView commit details -
Merge branch 'main' into simon-engledew/lint-workspace
Simon Engledew committedNov 26, 2020 Copy the full SHA 92df387View commit details -
Simon Engledew committed
Nov 26, 2020 Copy the full SHA be09fb3View commit details
Commits on Nov 25, 2020
-
Eric Cornelissen committed
Nov 25, 2020 Copy the full SHA e6ea8cbView commit details
Commits on Nov 24, 2020
-
Merge branch 'main' into simon-engledew/lint-workspace
Simon Engledew committedNov 24, 2020 Copy the full SHA 1020df5View commit details -
Send short codes that do not need URL encoding for better splunk tracing
Simon Engledew committedNov 24, 2020 Copy the full SHA 2ac22e8View commit details -
Make anonymous objects into variables for readability
Sam Partington committedNov 24, 2020 Copy the full SHA 3ee4739View commit details -
Do not fail if the workflow has been deleted
Simon Engledew committedNov 24, 2020 Copy the full SHA 6df1fc5View commit details -
Write a warning if there is an error with the workflow
Simon Engledew committedNov 24, 2020 Copy the full SHA 33bb875View commit details
Commits on Nov 23, 2020
-
Introduce parameter object for API params that travel together
Sam Partington committedNov 23, 2020 Copy the full SHA 20567b5View commit details
Commits on Nov 19, 2020
-
Scanning endpoint failures should not halt the scan
Simon Engledew committedNov 19, 2020 Copy the full SHA eb4226eView commit details
Commits on Nov 12, 2020
-
send action ref and tool version in status reports
Robert committedNov 12, 2020 Copy the full SHA 80b43caView commit details
Commits on Nov 4, 2020
-
Move setOutput into try block in case it errors
Simon Engledew committedNov 4, 2020 Copy the full SHA 54f3e52View commit details -
Report the path of CodeQL as an output
Simon Engledew committedNov 4, 2020 Copy the full SHA 854109fView commit details
Commits on Oct 30, 2020
-
Log a warning if the API version is not supported.
Chris Gavin committedOct 30, 2020 Copy the full SHA 1220ae5View commit details
Commits on Oct 27, 2020
-
Use setup-python-dependencies input
David Verdeguer committedOct 27, 2020 Copy the full SHA 4575212View commit details
Commits on Oct 6, 2020
-
David Verdeguer committed
Oct 6, 2020 Copy the full SHA d81cc67View commit details