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
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
378f30f95d
call setupActionsVars in the tests too
2021-03-16 13:43:28 +00: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
Sam Partington
ab9b1a72db
Fix tests
...
Previously, most tests were using https://github.com and only the first was using https://github.example.com . As it happens, https://github.com works for all of them.
2020-11-24 11:10:25 +00:00
Sam Partington
20567b5888
Introduce parameter object for API params that travel together
2020-11-23 14:39:01 +00:00
Robert
80b43ca9d3
send action ref and tool version in status reports
2020-11-12 12:27:31 +00:00
Chris Raynor
10479a214a
Merge branch 'main' into cbraynor/fix206
2020-10-01 11:09:05 +01:00
Chris Raynor
122c9b7f24
Switching to import/order instead of sort-imports
2020-10-01 11:03:46 +01:00
Marco Gario
d5029a8680
Platform specific bundle
2020-10-01 10:04:48 +02:00
Chris Raynor
228546a1e5
Resolve violations of sort-imports lint
...
Resolves #206
2020-09-29 14:43:37 +01:00
Chris Raynor
41464b1396
Allowing a cached version of the CodeQL bundle sometimes
...
To save time downloading the CodeQL bundle we're pre-downloading it into the
hosted Actions runner, but because the release schedule is different there may
be some version drift. This change allows a different version of the bundle
to be used than the default if a version isn't explicitly specified, there's
only one version downloaded, and it's been marked as a 'pinned-version' -
otherwise it reverts to the prior behavior.
2020-09-22 14:38:27 +01:00
Chris Raynor
a184d50a26
Running lint-fix
2020-09-14 10:44:43 +01:00
Robert Brignull
6f422a4303
add debug mode to limit output
2020-08-27 14:26:44 +01:00
Robert Brignull
217483dfd6
Convert rest of the actions
2020-08-26 16:20:36 +01:00
Esben Sparre Andreasen
9597f2e889
build typescript
2020-08-18 08:32:33 +02:00
Robert Brignull
0086c2ecdb
use @actions/github
2020-07-06 16:25:26 +01:00
Robert Brignull
c41d287cae
Introduce wrapper around codeql
2020-07-02 14:25:08 +01:00