Commit Graph

469 Commits

Author SHA1 Message Date
Michael B. Gale 194ba0ee2d Make error message tests less brittle 2025-10-29 08:29:11 +00:00
Michael B. Gale 53acf0b8aa Turn enablement errors into configuration errors 2025-10-28 21:17:30 +00:00
Henry Mercer d49e837b8c Merge branch 'main' into henrymercer/api-logging 2025-10-28 16:49:10 +00:00
Henry Mercer 3d988b275a Pass minimal copy of core 2025-10-28 16:33:21 +00:00
Henry Mercer ea5cb4a016 Merge branch 'main' into henrymercer/prefer-fs-delete 2025-10-28 15:26:42 +00:00
Henry Mercer 4256e2e2a0 Merge branch 'main' into henrymercer/disk-usage-node-api 2025-10-28 15:05:13 +00:00
Henry Mercer 311fc42780 Merge pull request #3242 from github/dependabot/npm_and_yarn/npm-minor-75b724c14c
Bump the npm-minor group with 4 updates
2025-10-28 13:25:25 +00:00
Henry Mercer a53e78ee2a Merge pull request #3243 from github/dependabot/npm_and_yarn/actions/artifact-4.0.0
Bump @actions/artifact from 2.3.1 to 4.0.0
2025-10-28 13:12:23 +00:00
Henry Mercer d84f470a9a Improve method naming 2025-10-28 13:06:14 +00:00
Henry Mercer 41c0a26213 Use Node fs APIs instead of del 2025-10-28 13:00:25 +00:00
Henry Mercer 57c7b6afb6 Disable SIP disablement check 2025-10-28 12:35:41 +00:00
Henry Mercer 8b1e55d11e Use Actions logger in API client
This allows us to remove the `console-log-level` dependency.
2025-10-28 12:15:03 +00:00
Henry Mercer 239e305d18 Check disk usage using Node.js API
This was introduced in Node.js 18
2025-10-27 18:34:23 +00:00
github-actions[bot] 723a9469fd Rebuild 2025-10-27 17:41:35 +00:00
github-actions[bot] df9e49e9e8 Rebuild 2025-10-27 17:37:24 +00:00
Michael B. Gale 52cec4178d Downgrade log message from warning to debug level 2025-10-27 17:02:01 +00:00
Michael B. Gale 55c083790a Move checkWorkflow to workflow.ts 2025-10-27 17:01:23 +00:00
Michael B. Gale 50601762ea Also skip workflow validation for dynamic workflows 2025-10-27 16:10:08 +00:00
Michael B. Gale 06fbd897c4 Move workflow check to a function in init.ts and add tests 2025-10-27 15:57:44 +00:00
Michael B. Gale 127851b399 Add environment variable for skipping workflow validation 2025-10-27 15:42:43 +00:00
github-actions[bot] dd565f3332 Rebuild 2025-10-24 17:11:09 +00:00
Henry Mercer e576807920 Merge pull request #3223 from github/henrymercer/bump-minimum
Bump minimum CodeQL Bundle version to 2.17.6
2025-10-24 15:11:27 +01:00
Kasper Svendsen 22d29ca74d Overlay: Lower size limit for overlay base databases 2025-10-24 08:06:42 +02:00
Michael B. Gale 40b4cdd21f Update status report messages 2025-10-23 13:12:19 +01:00
Michael B. Gale e849c567ec Update debug message 2025-10-23 13:04:06 +01:00
Michael B. Gale d1b51f05c9 Update API permissions warning 2025-10-23 13:02:31 +01:00
Michael B. Gale 42642085de Merge pull request #3206 from github/mbg/analyze/use-upload-sarif
Use `uploadSarif` rather than `uploadFiles` in `analyze` action
2025-10-22 17:45:25 +01:00
Henry Mercer e5f165b8f5 Linting: Prefer optional chaining 2025-10-22 16:55:06 +01:00
Michael B. Gale f88cb01694 Add AnalyzeUseNewUpload feature 2025-10-22 15:49:28 +01:00
Henry Mercer 3cd3374657 Bump minor version number 2025-10-22 12:27:15 +01:00
Henry Mercer 3934593862 Remove analysisSummaryV2Default FF 2025-10-22 12:25:25 +01:00
Henry Mercer bd5f49c7ca Bump minimum version to 2.17.6 2025-10-22 12:19:35 +01:00
Henry Mercer 804fc665f9 Merge branch 'main' into henrymercer/http-error-handling 2025-10-21 10:37:41 +01:00
Henry Mercer e6e649a8f3 Simplify API error checks 2025-10-21 10:31:53 +01:00
Henry Mercer 40e26468f3 Require message field too 2025-10-21 10:27:54 +01:00
Michael B. Gale 9b0ac1cc3b Merge pull request #3203 from github/mbg/errors/more-user-errors
Handle user errors for invalid `UserConfig`s and missing query files
2025-10-20 19:32:51 +01:00
github-actions[bot] 2357c43cad Rebuild 2025-10-20 17:18:26 +00:00
Henry Mercer a6b9514fab Wrap API configuration errors when setting up CodeQL 2025-10-20 15:01:44 +01:00
Henry Mercer c64c4070cc Handle HTTP errors with httpStatusCode property 2025-10-20 14:38:02 +01:00
github-actions[bot] aa0f6ea898 Rebuild 2025-10-17 15:40:22 +00:00
Michael B. Gale 9ce56a247f Make schema for QueryFilter less strict 2025-10-17 15:11:16 +01:00
Michael B. Gale 2c8f4891d1 Add FF for config validation 2025-10-17 15:11:13 +01:00
Michael B. Gale d7a8ae5fdd Include first 10 errors in exception message 2025-10-17 15:09:05 +01:00
Michael B. Gale 0822fb12e7 Log validation errors 2025-10-17 15:09:04 +01:00
Michael B. Gale 4f14649ced Add additional regex to CliConfigErrorCategory.PackCannotBeFound 2025-10-17 15:09:03 +01:00
Michael B. Gale ac922ab562 Add and validate UserConfig schema 2025-10-17 15:09:01 +01:00
Michael B. Gale 66df0bc515 Add and use parseUserConfig
- Throws a `ConfigurationError` if parsing the YAML fails
- Add a couple of tests for it
2025-10-17 15:08:59 +01:00
Michael B. Gale 697c209bfc Merge remote-tracking branch 'origin/main' into mbg/init/starting-partial-config 2025-10-17 14:21:44 +01:00
Henry Mercer 77e5c0d0a2 Merge branch 'main' into update-bundle/codeql-bundle-v2.23.3 2025-10-17 13:53:02 +01:00
Michael B. Gale fa7bdf0559 Call getAnalysisKinds a second time, and ignore exceptions thrown during the first call 2025-10-17 13:40:18 +01:00