Henry Mercer
d4f1b14259
Use new setupActionsVars pattern
2026-03-03 19:24:18 +01:00
Henry Mercer
8a884bdb36
Extend setupActionsVars
2026-03-03 19:09:57 +01:00
Henry Mercer
e5f9d3b55e
Merge pull request #3487 from github/henrymercer/overlay-status
...
Cache first failure building an overlay base DB to avoid repeated failures
2026-02-24 17:19:19 +00:00
Michael B. Gale
f59338d600
Remove isCCR
2026-02-24 10:33:23 +00:00
Michael B. Gale
559d85d1fa
Merge pull request #3477 from github/mbg/features/offline-features
2026-02-20 15:36:07 +00:00
Michael B. Gale
b927a69f96
Merge remote-tracking branch 'origin/main' into mbg/features/offline-features
2026-02-17 17:14:08 +00:00
Michael B. Gale
61f7dd3d0d
Fix checkExpectedLogMessages not asserting anything on success
2026-02-17 16:49:01 +00:00
Henry Mercer
d1bdc0ea05
Create separate directory for overlay source code
2026-02-17 15:54:03 +00:00
Michael B. Gale
b1b1e44da9
Merge pull request #3474 from github/mbg/risk-assessment-analysis
...
Add `csra` analysis kind
2026-02-17 15:39:05 +00:00
Michael B. Gale
ab2580041c
Merge remote-tracking branch 'origin/main' into mbg/features/offline-features
2026-02-17 09:54:34 +00:00
Michael B. Gale
8b734d3bc2
Improve variable names and comments
...
Also set default `GITHUB_EVENT_NAME` in `setupActionsVars`
2026-02-16 08:54:19 +00:00
Michael B. Gale
377300bcda
Add mockCCR helper to testing-utils
2026-02-15 15:40:23 +00:00
Michael B. Gale
e1933c66bd
Find all missing messages in checkExpectedLogMessages
2026-02-12 23:22:33 +00:00
Michael B. Gale
edf36092cf
Add RecordingLogger that keeps track of groups
2026-02-12 23:21:58 +00:00
Michael B. Gale
05bd050f34
Add and use withRecordingLoggerAsync
2026-01-29 13:44:10 +00:00
Henry Mercer
a02edfe319
Merge pull request #3424 from github/henrymercer/feature-skip-file-coverage-info-prs
...
Add feature flag to skip computing baseline file coverage information on PRs
2026-01-27 06:49:29 -08:00
Michael B. Gale
c12cf8d49a
Move makeTestToken to testing-utils
2026-01-24 12:55:32 +00:00
Henry Mercer
e7ece62b96
Add feature flag to skip file coverage information on PRs
2026-01-23 18:41:24 +00:00
Henry Mercer
35d39dfdb3
Introduce type error when CodeQL is needed
2026-01-05 16:22:40 +00:00
Henry Mercer
da77f9f638
Suppress debug logs for artifact scanner test
2025-12-17 10:25:48 +00:00
Michael B. Gale
594c0cc369
Store restored keys in action state
2025-11-14 14:30:54 +00:00
Michael B. Gale
913cd47984
Add checkExpectedLogMessages function to testing-utils
2025-10-17 15:09:04 +01:00
Michael B. Gale
3b00d03019
Load repository properties and store them in the Config
2025-09-20 14:09:07 +01:00
Michael B. Gale
4f56152a48
Store and check action version in Config
2025-09-10 13:33:17 +01:00
Michael B. Gale
87c5b58925
Remove augmentationProperties from Config
2025-09-03 12:56:58 +01:00
Michael B. Gale
e9fb72dd82
Move extraQueryExclusions out of AugmentationProperties
2025-09-03 12:13:58 +01:00
Michael B. Gale
ac9b91e745
Move overlay db settings from AugmentationProperties to Config
2025-09-02 18:02:12 +01:00
Michael B. Gale
c4d2772a75
Add computedConfig property to Config type
2025-09-02 18:01:49 +01:00
Michael B. Gale
fdb7cfe16e
Update src/testing-utils.ts
...
Co-authored-by: Esben Sparre Andreasen <esbena@github.com >
2025-09-02 13:43:01 +01:00
Michael B. Gale
935698fa78
Fix missing/wrong properties in createTestConfig
2025-09-02 13:28:05 +01:00
Michael B. Gale
270f7ad1da
Fix import order in testing-utils.ts
2025-08-27 22:27:45 +01:00
Michael B. Gale
c1efb64b83
Fix missing analysisKinds in createTestConfig
2025-08-27 22:24:32 +01:00
Chuan-kai Lin
da8dabf356
VersionInfo: add overlayVersion field
2025-08-08 08:47:24 -07:00
Henry Mercer
f8c2086872
Prefer providing CodeQL via dependency injection
2025-08-07 12:16:00 +01:00
Chuan-kai Lin
3eaefb4deb
Replicate "too many feature flags" error in test
2025-07-16 07:06:52 -07:00
Chuan-kai Lin
b37e7e2c5d
Move initializeFeatures() to testing-utils
...
This change eliminates the need for setup-codeql.test to import from
feature-flags.test, which makes the former run all tests defined in the
latter.
2025-07-11 09:54:40 -07:00
Chuan-kai Lin
64fce5856f
Use exclude-from-incremental also for overlay analysis
2025-07-09 14:32:05 -07:00
github-actions[bot]
44e03577b2
Rebuild
2024-12-03 18:39:38 +00:00
Henry Mercer
33f2dc57a4
Enable zstd bundles on GHES and remove feature flag
2024-11-01 15:24:51 +00:00
Michael B. Gale
1922a489a8
Add dependencyCachingEnabled to Config
2024-10-29 12:06:46 +00:00
Henry Mercer
2f54d9fcfa
Enable no console rule
2024-06-13 19:47:29 +01:00
Fotis Koutoulakis (@NlightNFotis)
cbe408dfc9
Add option tools: linked for init action.
...
Also ensure that option latest remains compatible, and add tests for
the two options.
2024-05-13 14:51:06 +01:00
Henry Mercer
55c1fd5777
Introduce codeql.supportsFeature
...
This is a slightly simpler API
2024-01-30 21:53:24 +00:00
Henry Mercer
0166a8a567
Add build mode to configuration
2024-01-30 19:10:37 +00:00
Henry Mercer
d2e867f3be
Refactoring: Introduce common method to stub a config
...
This means that we don't need to update irrelevant test cases when we
add a new configuration property.
2024-01-30 19:00:04 +00:00
Henry Mercer
ec42edcaab
Refactoring: Create interface for config initialization
...
This eliminates argument order mistakes, and also lets us add new inputs
without having to update every test.
2024-01-30 18:59:59 +00:00
Angela P Wen
96531062ba
Stop setting CODEQL_RUNNER environment variable if CLI already sets it ( #2081 )
...
* Check `setsCodeqlRunnerEnvVar` is set in the CLI with `ToolsFeatures`
* Stop setting `CODEQL_RUNNER` env var when CLI does
* Add optional `features` parameter in test utils
* Test that `CODEQL_RUNNER` is not set if CLI sets it
2024-01-12 09:41:07 -08:00
Michael B. Gale
bcbb900532
Rename VersionOutput to VersionInfo
2023-10-04 15:54:34 +01:00
Michael B. Gale
49b94f1a2d
Remove unused properties from VersionOutput
2023-10-04 15:51:26 +01:00
Michael B. Gale
e827ad5b71
Move makeVersionOutput to testing-utils.js
2023-10-04 15:49:04 +01:00