Commit Graph

37 Commits

Author SHA1 Message Date
Andrew Eisenberg 47588796b4 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.
2021-05-31 09:03:29 -07:00
Edoardo Pirovano 79c79f1be5 Add configuration option to set CodeQL DB location 2021-05-18 00:13:36 +01:00
Robert 8c91ba83e2 Introduce our own toolcache implementation for use by the runnner 2021-04-22 15:31:15 +01:00
Josh Soref c4fced7348 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>
2021-03-18 09:40:47 -07:00
Robert d698cb3d2b Make unguarded-action-lib better at ignoring uses of toolcache 2021-03-16 13:14:17 +00:00
Chris Gavin bb51ece0b4 When downloading the CodeQL bundle, only use the GitHub AE endpoint on GitHub AE, and check it first. 2021-03-07 11:18:54 +00:00
Robin Neatherway dff118f7ad Use version information to construct payload 2020-11-30 16:45:18 +00:00
Robert 81a21bfa1e Request meta endpoint at the start of execution 2020-11-26 17:54:46 +00:00
Sam Partington 20567b5888 Introduce parameter object for API params that travel together 2020-11-23 14:39:01 +00:00
Eric Cornelissen 5416d4f3b5 Run npm run build 2020-11-20 11:35:59 +01:00
Chris Gavin 726cfc8441 Ensure unqualified program names are present on PATH before executing them. 2020-11-18 22:20:13 +00:00
Robert 80b43ca9d3 send action ref and tool version in status reports 2020-11-12 12:27:31 +00:00
Robert aae4713a4d detect Agent.Worker.exe 2020-11-10 16:16:58 +00:00
Chris Gavin 1220ae5bfd Log a warning if the API version is not supported. 2020-10-30 12:20:06 +00:00
David Verdeguer 2391771a3f Allow installing python deps on mac 2020-10-19 12:45:33 +02:00
David Verdeguer e3d2d4afc4 Add call to py 2020-10-08 12:14:41 +02:00
David Verdeguer 735ec7d414 Add powershell to call 2020-10-08 12:06:29 +02:00
David Verdeguer e97bdbdfac Combine auto_install scripts 2020-10-07 12:55:02 +02:00
David Verdeguer 0f2fa46e3c Update installPythonDeps for windows 2020-10-06 14:37:35 +02:00
David Verdeguer 55eb02cb0a Merge branch 'main' into daverlo/python 2020-10-05 08:05:16 +02:00
Chris Raynor 122c9b7f24 Switching to import/order instead of sort-imports 2020-10-01 11:03:46 +01:00
Chris Raynor 228546a1e5 Resolve violations of sort-imports lint
Resolves #206
2020-09-29 14:43:37 +01:00
David Verdeguer 5419fcd735 Improve warning message 2020-09-25 11:28:57 +02:00
David Verdeguer 147734591c Check platform before installing python tools 2020-09-23 17:49:39 +02:00
David Verdeguer 23a1a65b43 Merge branch 'main' into daverlo/python-v2 2020-09-23 09:27:54 +02:00
Chris Raynor a184d50a26 Running lint-fix 2020-09-14 10:44:43 +01:00
David Verdeguer 8cea21575c Install python deps on init 2020-09-11 10:53:41 +02:00
Robert Brignull 7d9c81f55c Print final process we choose 2020-09-07 17:23:35 +01:00
Robert Brignull 694fa2d961 add options to specify process name or level to trace 2020-09-07 13:36:47 +01:00
Robert Brignull 48df01325b add alternative script for in runner mode 2020-09-02 15:50:37 +01:00
Robert Brignull 5c0bd22d01 set -ExecutionPolicy Bypass 2020-09-02 15:50:23 +01:00
Robert Brignull 2dbd7e8dc1 Fix tracing when there are multiple self-hosted runners 2020-09-02 15:28:50 +01:00
Robert Brignull c3d6602e8a use ToolRunner directly instead of exec wrapper 2020-08-28 16:59:34 +01:00
Robert Brignull 1fd45d7407 address review comments 2020-08-27 16:34:09 +01:00
Robert Brignull 39b361ed69 Remove dependence of GITHUB_REPOSITORY env var 2020-08-27 11:06:14 +01:00
Robert Brignull e9bfa56061 inline inject-tracer.ps1 2020-08-26 16:20:36 +01:00
Robert Brignull 217483dfd6 Convert rest of the actions 2020-08-26 16:20:36 +01:00