Michael B. Gale
52aafec073
Import and call runWrapper normally in analyze tests
2026-05-14 18:32:40 +01:00
Michael B. Gale
d7e50c23fe
Fix linter errors
2026-05-14 15:24:33 +01:00
Michael B. Gale
bb30f3132d
Avoid top-level promise in analyze-action
2026-05-14 15:14:03 +01:00
Henry Mercer
d4f1b14259
Use new setupActionsVars pattern
2026-03-03 19:24:18 +01:00
Michael B. Gale
f5f9571d61
Configure temp dependency dir for C# extractor when FF is enabled
...
And also clean it up.
2025-11-13 14:03:44 +00:00
Michael B. Gale
db47d17142
Remove add-snippets input
2025-10-27 12:53:23 +00:00
Michael B. Gale
da64a41e37
Bump timeout for analyze-action-input test
2025-10-23 15:23:21 +01:00
Henry Mercer
f8c2086872
Prefer providing CodeQL via dependency injection
2025-08-07 12:16:00 +01:00
Henry Mercer
e95a3a9768
Deprecate the 'cleanup-level' option
2025-08-04 17:52:09 +01:00
Arthur Baars
ca53360d04
Fix tests
2025-07-15 07:25:49 +00:00
Chuan-kai Lin
42835b3971
Override cleanup-level for overlay-base database
2025-07-03 12:35:25 -07:00
Chuan-kai Lin
b0cd76b9fb
Move Git functions to git-utils.ts
2024-12-10 08:44:11 -08:00
Henry Mercer
ecb9ccfcb1
Fix new linter errors
2024-08-05 19:22:26 +01:00
Josh Soref
5a6da1d85d
Treat status reports as non-critical
...
Change `sendStatusReport` to `void`
2024-02-12 13:56:10 -05:00
Henry Mercer
c6d284324b
Pull out a dedicated status report file
2023-08-07 16:13:59 +01:00
Henry Mercer
2637069a45
Resolve dependency cycles between actions-util and workflow
2023-07-19 17:21:33 +01:00
Henry Mercer
0bc4788cf7
Resolve dependency cycle between api-client and actions-util
2023-07-19 17:01:05 +01:00
Henry Mercer
d577d6f6b1
Resolve dependency cycle between util and API client
2023-07-19 16:40:31 +01:00
Andrew Eisenberg
1384ce4ab3
Fixes spurious error messages in tests
...
Previously, `isAnalyzingDefaultBranch` was failing because there are
some missing env vars: `GITHUB_SHA`, `GITHUB_REF`, and
`GITHUB_EVENT_PATH`. Also, `checkout_path` is missing as an input.
Rather than trying to set them to mock values, which would require
setting the paths to existing paths in the file system, I chose to stub
the entire function. I think this is fine since the point of the test
is to check the ram and threads values, not testing the
`isAnalyzingDefaultBranch` function.
2022-11-29 10:53:11 -08:00
Edoardo Pirovano
b96c7546c1
Fix broken unit test
2022-09-26 15:17:36 +01:00
Henry Mercer
b21cab99b3
Mock expect-error input to avoid errors in Action integration tests
2022-08-17 15:02:46 +01:00
Chris Gavin
bbdc9efa94
Use the API URL from the environment if it is present.
2022-08-11 08:38:11 +01:00
Henry Mercer
4e0668d05e
Fix integration tests on v1
...
The GitHub API client coerces `fake-server-url` to the Dotcom API URL,
which means commands like `util.getGitHubVersion` will call the Dotcom
API with the `fake-token`, resulting in 401s.
We therefore use the Dotcom URL instead and additionally stub
`util.getGitHubVersion` as a good practice (it's no longer necessary).
2022-05-11 15:53:57 +01:00
Henry Mercer
bcdaad245b
Add ML-powered query enablement info to analyze finish status report
2022-02-15 15:04:23 +00:00
Henry Mercer
254816c2d2
Stub feature flag API endpoint in tests
2021-12-16 13:39:18 +00:00
Henry Mercer
d6499fad61
Use new feature flag architecture when uploading databases
2021-12-15 13:17:05 +00:00
Chuan-kai Lin
70b730eb7d
Add RAM and threads options to init action
2021-10-28 15:09:59 -07:00