2126 Commits

Author SHA1 Message Date
Sam Partington 366d8a32d1 Retrieve remote configuration where specified 2020-06-26 11:49:00 +01:00
Robin Neatherway bb9ed79f3d getRequiredEnvParams must be non-empty 2020-06-26 11:44:17 +01:00
Chris Gavin ef507971e7 Merge branch 'main' into octokit 2020-06-26 10:29:51 +01:00
Robert Brignull 0fdc2c71e4 fall back to GITHUB_SHA env var if git is not available 2020-06-25 15:53:24 +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 32c9898fa4 Fix regex 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
Robert Brignull 50a2815790 Include completed_at when action is aborted 2020-06-25 14:10:28 +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
Alex Kalyvitis 559e2600c1 Merge branch 'main' into report-action-aborted 2020-06-24 15:04:07 +02:00
Chris Gavin 464ce1b43a Manually convert response.data to a JSON string. 2020-06-24 13:50:52 +01:00
Alex Kalyvitis 8530f5b76a add missing semicolon 2020-06-24 14:37:12 +02:00
Alex Kalyvitis a67896b792 fix typo and throw error when languages are not detected 2020-06-24 14:31:06 +02:00
Robert b3ffa760ab Merge branch 'main' into only-output-on-failure 2020-06-24 13:13:46 +01:00
Alex Kalyvitis 3871ca717b reformat remaining 4 space indentations 2020-06-24 14:12:51 +02:00
Alex Kalyvitis a091618158 Merge branch 'main' into report-action-aborted 2020-06-24 14:04:46 +02:00
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
Sam Partington a30a5ba788 Add silencing to additional test files
https://github.com/github/codeql-action/pull/75#issuecomment-648104201
2020-06-23 13:59:58 +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 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 34c941dc31 Use Object.entries() instead of checking hasOwnProperty
Co-authored-by: Robert <robertbrignull@github.com>
2020-06-19 13:27:45 +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
Alex Kalyvitis 3f2a60be8a switch to semver instead of hash 2020-06-18 16:31:39 +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