Commit Graph

333 Commits

Author SHA1 Message Date
Marco Gario f8e92620cb Merge remote-tracking branch 'origin/main' into platform_lang_pkg 2020-09-21 09:12:18 +02:00
Robert def00916ce Merge branch 'main' into robertbrignull/init_status_queries 2020-09-18 16:36:17 +01:00
Robert Brignull 1dc1029baf Merge branch 'main' into split_builtin_custom_queries 2020-09-18 09:52:44 +01:00
Robert Brignull 875a8da7e3 include workflow queries in status report 2020-09-17 17:29:45 +01:00
Marco Gario 1157017557 Assume small bundles are available in the official repo 2020-09-17 17:47:01 +02:00
Marco Gario 7f2fa9ca20 Merge branch 'main' into platform_lang_pkg 2020-09-17 14:02:08 +02:00
Marco Gario b9f08d924a Fix early termination 2020-09-17 13:58:16 +02:00
Robert Brignull 4c4114f2d8 add an extra getRequiredInput 2020-09-16 11:03:13 +01:00
Robert Brignull 7be1a410c2 Merge branch 'main' into robertbrignull/consistent_inputs 2020-09-16 10:50:54 +01:00
Robert Brignull c1cee53da5 Add getOptionalInput and getRequiredInput 2020-09-15 18:47:50 +01:00
Marco Gario 4d836f4b5a fix linter 2020-09-15 15:50:23 +02:00
Marco Gario b9e8fa6371 Merge remote-tracking branch 'origin/main' into platform_lang_pkg 2020-09-15 15:30:34 +02:00
Robert Brignull 121fd331cd Introduce actions-util.ts 2020-09-15 14:01:21 +01:00
Robert Brignull 89dad149ed Replace all occurrences 2020-09-14 18:13:33 +01:00
Nick Fyson e5e9aad174 Merge branch 'main' into nickfyson/error_wrapper
# Conflicts:
#	lib/codeql.js
#	lib/codeql.js.map
#	src/codeql.ts
2020-09-14 13:30:37 +01:00
Chris Raynor a184d50a26 Running lint-fix 2020-09-14 10:44:43 +01:00
Nick Fyson b104d6e035 Merge branch 'main' into nickfyson/error_wrapper
# Conflicts:
#	lib/codeql.js.map
2020-09-11 19:04:05 +01:00
Nick Fyson b3b99014eb make ErrorMatcher an object rather than a tuple 2020-09-11 18:30:07 +01:00
Nick Fyson 1fb7c81099 tweak in response to reviewer comments 2020-09-11 18:25:23 +01:00
Marco Gario 7b29d2e0a5 Move language functions in dedicated package 2020-09-11 12:02:17 +02:00
Marco Gario 588a28d3b5 Merge remote-tracking branch 'origin/main' into platform_lang_pkg 2020-09-11 11:45:31 +02:00
Nick Fyson 77f767cb34 add optional workflow input to specify whether snippets are added to sarif output 2020-09-10 18:26:58 +01:00
Robert Brignull 0539269665 split up builtin and custom queries 2020-09-10 18:17:03 +01:00
Robert d4f40db368 Merge branch 'main' into external_queries_test 2020-09-10 11:24:22 +01:00
Robert Brignull 3be0e89804 make a local repo for checkoutExternalQueries 2020-09-09 18:30:57 +01:00
Robert Brignull 3db0a253ed add another fingerprinting test 2020-09-09 17:37:53 +01:00
Sam Partington 4ad13dff42 Merge branch 'main' into allow-additive-queries-in-workflow 2020-09-09 15:32:20 +01:00
Marco Gario 57b0b7fd1d 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.
2020-09-09 13:53:11 +02:00
Marco Gario d3d7dd4600 # 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 test

# The commit message #3 will be skipped:

# cleanup

# The commit message #4 will be skipped:

# linter
2020-09-09 13:52:43 +02:00
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
Marco Gario 7951f91d00 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.
2020-09-09 13:50:48 +02:00
Marco Gario 408e376177 Add test for bundle with platform and language 2020-09-09 13:50:27 +02:00
Sam Partington 18cd03ab62 Make variable name less ambiguous 2020-09-08 10:14:51 +01:00
Sam Partington d677f16692 Merge branch 'main' into allow-additive-queries-in-workflow 2020-09-08 10:00:16 +01:00
Nick Fyson 88951d6193 renames to reflect the switch to using toolrunner 2020-09-08 00:01:04 +01:00
Nick Fyson 3cd41279f2 Merge branch 'main' into nickfyson/error_wrapper
# Conflicts:
#	lib/codeql.js
#	lib/codeql.js.map
#	src/codeql.ts
2020-09-07 23:55:32 +01:00
Nick Fyson cc2dfaf5d8 clean up and rename things to follow proper conventions 2020-09-07 23:02:58 +01:00
Nick Fyson 3e6d23928b add test for initial error matcher 2020-09-07 22:50:37 +01:00
Nick Fyson 7dbaff09b6 move error matcher definition into dedicated file 2020-09-07 18:37:51 +01:00
Robert Brignull 7d9c81f55c Print final process we choose 2020-09-07 17:23:35 +01:00
Robert Brignull 212f4484d3 Merge branch 'main' into windows_tracing 2020-09-07 17:08:59 +01:00
Robert Brignull c68937100c Merge branch 'main' into windows_message 2020-09-07 16:01:09 +01:00
Nick Fyson 1f3ce75844 add initial suite of tests for exec_wrapper 2020-09-07 15:17:43 +01:00
Nick Fyson 9701a93bf1 ensure exec_wrapper always captures exit code of called process 2020-09-07 15:17:19 +01:00
Robert 1a772a2b9e Merge branch 'main' into codeql_download_info 2020-09-07 13:37:20 +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 789059e604 Merge branch 'main' into windows_tracing 2020-09-07 12:49:20 +01:00
Nick Fyson dd4e841441 remove spurious use of exec_wrapper 2020-09-03 17:01:51 +01:00
Nick Fyson 6a43a6178d ensure matchers not applied if exit code is zero 2020-09-03 16:42:56 +01:00
Robert Brignull 9782622366 Print path to file instead of file contents 2020-09-02 19:58:03 +01:00