Commits
Commits on Aug 18, 2021
-
Enforce a minimum version of CodeQL CLI
Edoardo Pirovano committedAug 18, 2021 Unverified
No user is associated with the committer email.Copy the full SHA 70d2efcView commit details
Commits on Aug 12, 2021
-
Pass
--ram
flag todatabase finalize
Edoardo Pirovano committedAug 12, 2021 Unverified
No user is associated with the committer email.Copy the full SHA 0c4306bView commit details
Commits on Jul 27, 2021
-
Rebuild after TypeScript version bump
Edoardo Pirovano committedJul 27, 2021 Unverified
No user is associated with the committer email.Copy the full SHA d9849b8View commit details
Commits on Jul 14, 2021
-
Rename checkoutPath to either workspacePath or sourceRoot
Arthur Baars committedJul 14, 2021 Copy the full SHA f94f1edView commit details
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 28, 2021
-
Support splitting of DB creation and query execution
Edoardo Pirovano committedJun 28, 2021 Unverified
No user is associated with the committer email.Copy the full SHA ef852c0View commit details
Commits on Jun 25, 2021
-
Add extra integration test for packaging
Also, update the options and inputs documentation.
Andrew Eisenberg committedJun 25, 2021 Copy the full SHA 4087f37View 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 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 Jun 1, 2021
-
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 committedJun 1, 2021 Copy the full SHA 539d968View commit details
Commits on May 31, 2021
-
Use the version from package.json in the runner
Andrew Eisenberg committedMay 31, 2021 Copy the full SHA 1a4cdd3View commit details -
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 May 10, 2021
-
Merge branch 'main' into daverlo/categoryInput
David Verdeguer committedMay 10, 2021 Copy the full SHA ea18d47View commit details
Commits on May 5, 2021
-
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
Henning Makholm and Andrew Eisenberg committedMay 5, 2021 Copy the full SHA a6ebb19View commit details -
fix value escaping in codeql-env.sh
Henning Makholm committedMay 5, 2021 Copy the full SHA e7e64d5View commit details
Commits on May 3, 2021
-
Use the category on the runner
David Verdeguer committedMay 3, 2021 Copy the full SHA aa53f64View commit details -
Forward category input to codeql cli
David Verdeguer committedMay 3, 2021 Copy the full SHA c93cbc9View commit details
Commits on Apr 29, 2021
-
David Verdeguer committed
Apr 29, 2021 Copy the full SHA c6e734cView 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 Apr 16, 2021
-
[Runner] Throw error on unknown option in init command
And explicitly document the advanced --trace-process-name and --trace-process-level args.
Andrew Eisenberg committedApr 16, 2021 Copy the full SHA c87ee1cView commit details
Commits on Mar 16, 2021
-
call setupActionsVars in the tests too
Robert committedMar 16, 2021 Copy the full SHA 378f30fView commit details -
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 Unverified
No user is associated with the committer email.Copy the full SHA bb51eceView commit details
Commits on Feb 17, 2021
-
Robert authored and Andrew Eisenberg committed
Feb 17, 2021 Copy the full SHA a265353View commit details
Commits on Feb 16, 2021
-
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 committedFeb 16, 2021 Copy the full SHA 58defc0View commit details -
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 committedFeb 16, 2021 Copy the full SHA 88714e3View 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 Jan 6, 2021
-
Don't re-retrieve GitHub version when already have it
https://github.com/github/codeql-action/commit/54e0c67332afd925b1a71c346726efc5c788b260#r45693026 https://github.com/github/codeql-action/commit/54e0c67332afd925b1a71c346726efc5c788b260#r45693030
Sam Partington committedJan 6, 2021 Copy the full SHA c7275a7View commit details -
Revert "Retrieve GitHubVersion when used rather than passing around"
This reverts commit 6de1b75. https://github.com/github/codeql-action/pull/323#discussion_r551960301
Sam Partington committedJan 6, 2021 Copy the full SHA 54e0c67View commit details
Commits on Dec 22, 2020
-
Retrieve GitHubVersion when used rather than passing around
Sam Partington committedDec 22, 2020 Copy the full SHA 6de1b75View commit details -
Merge branch 'main' into split-upload-method
Sam Partington committedDec 22, 2020 Copy the full SHA 82a8fa4View 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 27, 2020
-
Move uploading side-effect out of runAnalyze
Sam Partington committedNov 27, 2020 Copy the full SHA ff28c8dView commit details