Marco Gario
3f5bb98d7e
# This is a combination of 4 commits.
...
# This is the 1st commit message:
Add logic to download codeql platform-language pkg
* Add `bundleName` argument to `getCodeQLBundleDownloadURL`
* Add `languages` argument to `setupCodeQL`.
The logic now tries to find the platform-language pkg before defaulting
to the full bundle. We keep the toolcache clean by adding the pl version
to the tool version.
# The commit message #2 will be skipped:
# Add simple fallback logic for download
# The commit message #3 will be skipped:
# wip linter
# The commit message #4 will be skipped:
# linter
2020-09-09 13:52:06 +02:00
Robert Brignull
a0b54fc7ab
fix tests
2020-08-28 17:28:05 +01:00
Robert Brignull
6f422a4303
add debug mode to limit output
2020-08-27 14:26:44 +01:00
Robert Brignull
39b361ed69
Remove dependence of GITHUB_REPOSITORY env var
2020-08-27 11:06:14 +01:00
Robert Brignull
217483dfd6
Convert rest of the actions
2020-08-26 16:20:36 +01:00
Sam Partington
e997bdf637
Merge branch 'main' into query-overriding
2020-08-25 14:21:33 +01:00
Sam Partington
bdfd48264f
Merge branch 'main' into query-overriding
2020-08-25 10:39:53 +01:00
Esben Sparre Andreasen
eecc25f914
build typescript
2020-08-25 11:22:11 +02:00
Sam Partington
129713f1a0
Handle errors in workflow queries correctly
2020-08-25 10:17:54 +01:00
Sam Partington
7f19f9198a
Refactor common code to function and add missing test
2020-08-24 15:53:24 +01:00
Sam Partington
c6f02973ac
Prevent queries in workflow overriding default queries
...
https://github.com/github/codeql-action/pull/127#pullrequestreview-463207781
2020-08-24 14:42:05 +01:00
Robert Brignull
0e8b30af75
Merge branch 'main' into add_env_to_config
2020-08-21 10:32:58 +01:00
Robert Brignull
038c4ebdf7
add CodeQL cmd to config
2020-08-19 15:57:13 +01:00
Robert Brignull
9c29fe283d
add tempDir and toolCacheDir to config
2020-08-19 15:11:49 +01:00
Robert Brignull
d6fbafb242
add tests
2020-08-17 13:34:55 +01:00
Robert
d5c453c995
mock API request in test
2020-08-07 17:15:46 +01:00
Robert Brignull
657540584e
add tests
2020-08-07 17:02:42 +01:00
Robert Brignull
dc366899d2
Check that the set of queries is non-empty at init time
2020-08-04 10:39:47 +01:00
Sam Partington
f57bf21879
Tidy up test
2020-07-31 11:11:47 +01:00
Sam Partington
7b0f432c26
Add missing JavaScript
...
https://github.com/github/codeql-action/pull/127/checks?check_run_id=915325110
2020-07-30 16:49:50 +01:00
Sam Partington
2da457060b
Allow multiple overriding queries, comma-separated
2020-07-27 16:50:03 +01:00
Sam Partington
95cef22589
Add support for basic query overriding in action file itself
...
See https://github.com/github/dsp-code-scanning/issues/1446
2020-07-27 16:50:03 +01:00
Robert
87758a1402
Upload much more data in status reports
2020-07-24 15:01:44 +01:00
Robert
315a9f4b3c
fix typo
2020-07-21 12:46:19 +01:00
Robert
0446cb0aff
address comments
2020-07-21 12:19:37 +01:00
Robert
29cf06569d
reset environment variables between tests
2020-07-21 11:39:55 +01:00
Robert
ee63f4ee4b
fix parsing of disable-default-queries field
2020-07-21 11:05:23 +01:00
Robert
5b4f4e40af
introduce tests
2020-07-21 10:53:14 +01:00
Robert Brignull
d138b00811
await promise
2020-07-16 09:04:16 +01:00
Robert Brignull
b86c3701ed
address review comments
2020-07-15 17:37:37 +01:00
Robert Brignull
da3d6d25eb
move config parsing earlier + add to codeql search path
2020-07-13 14:49:01 +01:00
Robert Brignull
1a4c658bbf
Merge branch 'main' into lgtm_filters
2020-07-10 15:01:22 +01:00
Robert Brignull
dcebdd6441
give better error messages
2020-07-08 15:06:45 +01:00
Robert Brignull
07caa0f5cf
pull out mockGetContents method
2020-07-07 18:32:29 +01:00
Robert Brignull
0086c2ecdb
use @actions/github
2020-07-06 16:25:26 +01:00
Sam Partington
0607771cc2
Make remote config retrieval more robust
2020-06-26 16:14:15 +01:00
Sam Partington
51becd2cf8
Bring error message method name inline with others
2020-06-26 15:44:57 +01:00
Sam Partington
7c00663f08
Remove tests of internal function now its behaviour has been verified
2020-06-26 14:46:53 +01:00
Sam Partington
f8c87948ab
Use new API client
...
From https://github.com/github/codeql-action/pull/82
2020-06-26 14:45:37 +01:00
Sam Partington
366d8a32d1
Retrieve remote configuration where specified
2020-06-26 11:49:00 +01:00
Sam Partington
388403b46e
Add a test that an Octokit request is made for remote config
2020-06-25 15:10:17 +01:00
Sam Partington
56292b1fa3
Reset mocks in test so they don't leak into later test
2020-06-25 15:10:17 +01:00
Sam Partington
a19d19e0a3
Add validation of remote config location, no retrieval yet
2020-06-25 13:21:46 +01:00
Sam Partington
153a598a97
Add a new function used to determine where to retrieve config from
2020-06-24 16:15:25 +01:00
Sam Partington
f4cf65ca2d
Add a test that Octokit isn't used for local config
2020-06-24 14:42:29 +01:00
Sam Partington
c0c67ce80f
Reduce debug output in tests
2020-06-22 17:13:47 +01:00
Sam Partington
14d602cced
Fix test failures introduced by making code more robust
2020-06-17 16:00:19 +01:00
Robert Brignull
5a97f7e980
Merge branch 'master' into safe-config-parsing
2020-06-09 10:39:49 +01:00
Robert Brignull
e35c90f53d
Merge branch 'master' into safe-config-parsing
2020-06-08 13:40:17 +01:00
Robert Brignull
5ea736059a
move all files to the RUNNER_TEMP directory
2020-06-04 12:15:34 +01:00