Chris Gavin
74c48f71fa
Use a single Octokit client for everything rather than a bunch of Octokits and an HTTP client.
2020-06-23 21:40:42 +01:00
Alex Kalyvitis
b8ac06a9c8
run tslint --fix
2020-06-23 18:41:16 +02:00
Robert Brignull
7581ac8b17
make the temporary directory in tests a symlink
2020-06-23 17:40:54 +01:00
Alex Kalyvitis
af252d2f0d
report action has aborted
2020-06-23 18:36:08 +02:00
Robert Brignull
cb384e776b
fix indentation
2020-06-23 17:29:15 +01:00
Robert Brignull
403832b950
Merge remote-tracking branch 'origin/main' into only-output-on-failure
2020-06-23 17:18:35 +01:00
Robert Brignull
52e52435f7
handle Uint8Array
2020-06-23 17:17:11 +01:00
Nick Rolfe
9a784b1f57
Merge remote-tracking branch 'upstream/main' into nickrolfe/codeql.exe
2020-06-23 16:01:51 +01:00
Robert
f009c4c924
Merge branch 'main' into nickrolfe/codeql.exe
2020-06-23 15:37:34 +01:00
Nick Rolfe
852d99d8e2
Call codeql.exe rather than codeql.cmd wrapper on Windows
2020-06-23 15:25:45 +01:00
Chris Gavin
052d39e909
Fix some strange formatting.
2020-06-23 14:44:40 +01:00
Chris Gavin
107d8ffc4c
Fix a line that's too long.
2020-06-23 14:44:40 +01:00
Chris Gavin
88231094bf
Convert all 4-space indented files to 2-space.
2020-06-23 14:44:40 +01:00
Robert Brignull
350bf488da
add semicolon
2020-06-23 14:42:52 +01:00
Robert Brignull
bd4042802d
Merge remote-tracking branch 'origin/main' into only-output-on-failure
2020-06-23 14:36:53 +01:00
Robert Brignull
02776246bf
Only output on failing tests
2020-06-23 14:36:40 +01:00
Robert Brignull
56f06c77fd
add calls
2020-06-23 14:36:40 +01:00
Alex Kalyvitis
31996935e6
reformat code and allow negative values for threads
2020-06-22 21:39:09 +02:00
Alex Kalyvitis
bcb5b28954
format code
2020-06-22 18:55:20 +02:00
Sam Partington
8622312249
Update JavaScript with newer comment
2020-06-22 17:20:29 +01:00
Sam Partington
c0c67ce80f
Reduce debug output in tests
2020-06-22 17:13:47 +01:00
Alex Kalyvitis
dcba70915d
move functions to util.ts
2020-06-22 17:17:25 +02:00
Alex Kalyvitis
2758bd30c8
avoid floating point division of ram
2020-06-22 14:51:18 +02:00
Alex Kalyvitis
d55f711b71
introduce inputs.threads flag to analyze action
2020-06-22 13:27:03 +02:00
Alex Kalyvitis
38c231113e
build ts
2020-06-19 13:41:33 +02:00
Alex Kalyvitis
5eccb79587
improve regex
2020-06-19 12:07:06 +02:00
Alex Kalyvitis
6d036cef6f
Merge branch 'master' into fix-self-hosted-stale-bundle-download
2020-06-18 19:08:04 +02:00
Alex Kalyvitis
3ff198f23b
fix tslint errors
2020-06-18 18:29:25 +02:00
Alex Kalyvitis
ff8fe44e0c
compiled js
2020-06-18 16:40:02 +02:00
Sam Partington
14d602cced
Fix test failures introduced by making code more robust
2020-06-17 16:00:19 +01:00
Sam Partington
24096a1cb3
Don't fail if query path doesn't exist
2020-06-17 15:55:14 +01:00
Alex Kalyvitis
74d434c5ca
fix lint errors
2020-06-17 16:19:00 +02:00
Alex Kalyvitis
fff3de9938
wip: hash bundle url and use it as the cache version
2020-06-17 16:13:58 +02:00
Sam Partington
013c02758e
Apply realpathSync sooner
...
Fixes lint: https://github.com/github/codeql-action/pull/67/checks?check_run_id=777215812
2020-06-16 17:04:30 +01:00
Sam Partington
0b53ebbc36
Fix config path comparisons where workspace path is a symlink
...
Before this change, config-utils.ts › load non-empty input was failing on Mac with:
The configuration file "/var/folders/gx/y8v1507s29d97m1r_5kq0s000000gn/T/codeql-action-oum66d/input" is invalid: property "queries.uses" is invalid as the local path "" is outside of the repository
The reason is that the tmp directory (which is where the config file was put by the test) was a symlink.
2020-06-16 16:59:15 +01:00
Robert Brignull
fcb696ec59
Merge branch 'master' into validate_sarif
2020-06-15 14:40:01 +01:00
Robert Brignull
19faafba94
Add ability to disable builtin queries
2020-06-15 12:01:38 +01:00
Robert Brignull
8425341ae0
change && to ||
2020-06-11 13:53:30 +01:00
Robert Brignull
af4edf6546
fix typos
2020-06-09 10:42:52 +01:00
Robert Brignull
5a97f7e980
Merge branch 'master' into safe-config-parsing
2020-06-09 10:39:49 +01:00
Robert Brignull
00ebedc522
Merge branch 'master' into self-hosted
2020-06-09 09:43:41 +01:00
Robert Brignull
c1add46efa
Merge branch 'master' into validate_sarif
2020-06-08 13:48:14 +01:00
Robert Brignull
e35c90f53d
Merge branch 'master' into safe-config-parsing
2020-06-08 13:40:17 +01:00
Robert Brignull
6db8182349
Merge branch 'master' into always-report-exceptions-v2
2020-06-08 13:24:24 +01:00
Robert Brignull
5ea736059a
move all files to the RUNNER_TEMP directory
2020-06-04 12:15:34 +01:00
Robert Brignull
f18fffbea8
pass queries to codeql via a file
2020-06-01 18:14:36 +01:00
Robert Brignull
655c4497ce
fix when there are additional suites and custom queries
2020-06-01 13:56:27 +01:00
Robert Brignull
22501fd7c8
change method used to check inclusion
2020-06-01 13:06:47 +01:00
Robert Brignull
07e22b1f4a
add missing return statement
2020-06-01 12:58:38 +01:00
Robert Brignull
3c2191ffdd
fix array inclusion test
2020-06-01 12:45:23 +01:00