Mario Campos
a8958a9883
Keep the JSON exception message consistent
2026-07-01 14:20:36 -05:00
Michael B. Gale
ef29bf2e43
Improve some comments
2026-07-01 18:55:25 +01:00
Michael B. Gale
ceac4af134
Use the common entry point for analyze
2026-07-01 18:49:33 +01:00
Michael B. Gale
772e8e9310
Use the common entry point for autobuild
2026-07-01 18:47:25 +01:00
Michael B. Gale
fcd9f6cbac
Fix logger reference
2026-07-01 18:41:03 +01:00
Michael B. Gale
a9ceac150d
Accept ActionState in getConfigFileInput
2026-07-01 18:37:06 +01:00
Michael B. Gale
6136b93088
Use the common entry point for init
2026-07-01 18:37:06 +01:00
Michael B. Gale
6ab762cada
Use the common entry point for setup-codeql
2026-07-01 18:37:06 +01:00
Michael B. Gale
a3a1cdd43a
Use the common entry point for upload-sarif
2026-07-01 18:37:06 +01:00
Michael B. Gale
9c16c3b47b
Add common entry point
2026-07-01 18:37:05 +01:00
Michael B. Gale
b009eac559
Add ActionsEnv support to ActionState
2026-07-01 18:33:42 +01:00
Michael B. Gale
26e9e9e932
Add TestEnv class to simplify testing of ActionState-dependent functions
2026-07-01 18:32:17 +01:00
Michael B. Gale
9b35ab94e1
Add initial ActionState type
2026-07-01 17:29:26 +01:00
Michael B. Gale
e1905475d1
Allow abstracting over process.env
2026-07-01 17:26:53 +01:00
Michael B. Gale
2399df7427
Add ActionsEnvVars enum
2026-07-01 17:23:21 +01:00
Michael B. Gale
d5f0145480
Log when repository property has a value but is ignored
2026-07-01 16:22:48 +01:00
Michael B. Gale
f27f56386a
Add test for when the FF is off
2026-07-01 15:55:57 +01:00
Michael B. Gale
0025d0f2b5
Use FF
2026-07-01 15:54:22 +01:00
Michael B. Gale
f7fa18f05d
Add FF for config file repo property
2026-07-01 15:51:37 +01:00
Mario Campos
7d1c6e90aa
Include codeql path in runCliJson error
2026-06-30 23:13:36 -05:00
Mario Campos
6cdc6063c0
Create wrapper runCliJson
2026-06-30 23:07:02 -05:00
Mario Campos
ffb3423848
Add isNumber/number validator
2026-06-30 16:35:16 -05:00
Michael B. Gale
708e106533
Index ActionState over the types of state used
2026-06-30 17:19:20 +01:00
Henry Mercer
9cfb67bab9
Add clarifying comments
2026-06-30 16:49:29 +01:00
Michael B. Gale
b6be81d5b9
Gate new remote file format behind FF
2026-06-30 13:19:30 +01:00
Michael B. Gale
7b2af8940d
Add TestEnv class to simplify testing of ActionState-dependent functions
2026-06-30 13:19:10 +01:00
Michael B. Gale
f86aa521ce
Use ActionState for getRemoteConfig
2026-06-30 13:03:00 +01:00
Michael B. Gale
e446d55e5a
Add initial ActionState type
2026-06-30 12:59:35 +01:00
Henry Mercer
6f8864c8b0
Address review comments
2026-06-26 18:43:09 +01:00
Michael B. Gale
d8d1d6d754
Add FF for shorthands
2026-06-26 18:12:14 +01:00
Michael B. Gale
f77cf557cd
Support old and new formats
2026-06-26 18:09:25 +01:00
Henry Mercer
e90a71aaea
Add tests for clear cleanup size telemetry
2026-06-26 17:44:30 +01:00
Henry Mercer
ad159d34f6
Measure overlay-base database size at the clear cleanup level
...
This lets us compare the storage cost of overlay-base and trimmed databases for the same commit.
2026-06-26 17:42:49 +01:00
Michael B. Gale
3fe7ef97d3
Fix getEnv not using getOptionalEnvVarFrom
2026-06-23 18:43:56 +01:00
Michael B. Gale
8d69da902e
Improve whitespace handling
2026-06-23 18:42:43 +01:00
Michael B. Gale
00e5a58139
Update format in error message
2026-06-23 18:34:25 +01:00
Michael B. Gale
8102fa6675
Anchor regex and trim input
2026-06-23 18:32:55 +01:00
Michael B. Gale
81ad479e13
Fix test names
2026-06-23 18:31:16 +01:00
Michael B. Gale
12821cff0c
Make owner optional in parseRemoteFileAddress
2026-06-23 18:13:16 +01:00
Michael B. Gale
e537ff20a4
Make path optional in parseRemoteFileAddress
2026-06-23 17:51:33 +01:00
Michael B. Gale
598d00854a
Make ref optional in parseRemoteFileAddress
2026-06-23 17:50:21 +01:00
Michael B. Gale
85c8a8cebe
Add tests for parseRemoteFileAddress
2026-06-23 17:50:01 +01:00
Michael B. Gale
c7a94c979d
Add getRemoteConfig JSDoc
2026-06-23 17:03:33 +01:00
Michael B. Gale
82e5ca6c55
Return RemoteFileAddress from parseRemoteFileAddress
2026-06-23 16:49:03 +01:00
Michael B. Gale
9ef8be7176
Refactor parseRemoteFileAddress out of getRemoteConfig
2026-06-23 16:49:03 +01:00
Michael B. Gale
07b6b1eac5
Move getRemoteConfig to config/file.ts
2026-06-23 16:49:03 +01:00
Michael B. Gale
9c4ee01a28
Add RemoteFileAddress type
2026-06-23 16:49:02 +01:00
Henry Mercer
6feed5452f
Categorize Code Quality "not enabled" upload failure as user-error
...
When a repository requests Code Quality analysis but it is not enabled,
the SARIF upload to `PUT /repos/:owner/:repo/code-quality/analysis`
returns a 403 with the message "Code quality is not enabled for this
repository...". `isEnablementError` did not recognize this wording, so
`wrapApiConfigurationError` left it as a plain Error and the analyze job
was reported with `status=failure` instead of `user-error`.
Add a `/Code Quality is not enabled/i` pattern so the error becomes a
ConfigurationError and `getActionsStatus` categorizes it as `user-error`.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-06-23 16:23:41 +01:00
Michael B. Gale
652296eb9e
Allow abstracting over process.env
2026-06-23 16:16:08 +01:00
Michael B. Gale
c05a5b71ad
Add ActionsEnvVars enum
2026-06-23 16:16:07 +01:00