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
Robert Brignull
28abced8ca
Merge remote-tracking branch 'origin/master' into suite_syntax
2020-06-01 12:20:08 +01:00
Robert Brignull
50dcaaf00d
use the new additional suites
2020-06-01 12:19:24 +01:00
Robert Brignull
96da037d49
report exceptions during upload
2020-05-28 10:40:26 +01:00
Robert Brignull
da1e237d1e
Allow pull requests, and report correct commit oid and ref
2020-05-28 09:26:52 +01:00
Robert Brignull
054f867322
make config file parsing more strict
2020-05-26 19:23:28 +01:00
Robert Brignull
1e600686e7
introduce new syntax for built-in query suites
2020-05-26 16:02:22 +01:00
Robert Brignull
8fb9090674
fix tests
2020-05-22 17:09:41 +01:00
Robert Brignull
ae301902e1
output a better error message
2020-05-22 14:56:20 +01:00
Robert Brignull
ddee374101
validate sarif against schema before uploading
2020-05-22 14:19:16 +01:00
Robert
852b9186d6
Merge branch 'master' into config_utils_tests
2020-05-18 14:48:19 +01:00
Robert Brignull
3a883af8a6
Merge branch 'master' into upload_twice
2020-05-18 14:29:49 +01:00
Robert
4e12efc7c3
Merge branch 'master' into upload_stats
2020-05-18 09:47:10 +01:00
Chris Gavin
97ef91227e
Check memory to use is always greater than zero.
2020-05-18 08:38:25 +01:00
Robert Brignull
5ec6b7524f
Emit an error if upload happens twice
2020-05-15 17:40:17 +01:00
Robert Brignull
b366432cb3
log some stats about the upload
2020-05-15 17:25:34 +01:00
Chris Gavin
fa0a733046
Use the full amount of memory available when running queries.
2020-05-14 17:31:03 +01:00
Robert Brignull
0e6df42024
add tests for config-utils
2020-05-14 16:47:42 +01:00
Robert Brignull
aa54af7018
enable source maps
2020-05-14 11:07:58 +01:00
Robert Brignull
f49335fc3b
upload ref in status report
2020-05-14 09:30:42 +01:00
Robert Brignull
572c8bbc0c
switch to using ava
2020-05-13 11:14:03 +01:00
Robert Brignull
88c1b7fb89
provide a better error when codeql fails to download
2020-05-12 16:58:20 +01:00
David Verdeguer
1477a43cc8
Merge branch 'master' into integration-tests
2020-05-12 10:23:56 +02:00
Robert
52cd1f2261
Merge branch 'master' into analysisName
2020-05-11 17:13:32 +01:00
Robert Brignull
3455736978
remove URL encoding
2020-05-11 16:24:39 +01:00
David Verdeguer
c979850d28
Add test mode
2020-05-08 16:06:35 +02:00
Robert Brignull
ab918b676b
use tmp dir for external queries test
2020-05-05 12:02:37 +01:00
Max Veytsman
984552a36e
Merge branch 'master' into autobuild_errors
2020-05-01 11:20:41 -04:00
Joshua Hale
43e27012da
Merge branch 'master' into report-upload-failures
2020-05-01 15:52:35 +01:00
Chris Gavin
8ff10b4a6b
Merge branch 'master' into better-feedback-folder-uploads
2020-05-01 15:34:12 +01:00
Joshua Hale
d68eb11bae
Merge branch 'master' into report-upload-failures
2020-05-01 15:32:01 +01:00
Chris Gavin
4e9886ad2b
Stop the upload action early if no files will be uploaded.
2020-05-01 15:27:32 +01:00
Robert
1fe0932cc2
Merge branch 'master' into autobuild_errors
2020-05-01 15:24:29 +01:00
Robert
129ce28897
Update upload-lib.ts
2020-05-01 15:03:29 +01:00