Chuan-kai Lin
bbd4e19f51
Revert "Update default bundle to 2.17.4"
2024-05-28 16:02:49 -07:00
github-actions[bot]
5fe08473f8
Update default bundle to codeql-bundle-v2.17.4
2024-05-28 22:21:16 +00:00
Henry Mercer
6548a4d65c
Add configuration error for missing auth to package registry
2024-05-28 19:05:07 +01:00
Henry Mercer
584871bb84
Merge pull request #2306 from github/henrymercer/trap-cache-space-efficiency
...
Automatically clean up old TRAP caches
2024-05-24 15:51:20 +01:00
Henry Mercer
f629cb3941
Add some comments to explain test case
2024-05-24 09:48:41 +01:00
Henry Mercer
fdba1f907e
Improve log message when there's nothing to clean up
2024-05-23 16:27:50 +01:00
Henry Mercer
f7f71927cf
Add unit test for cleanup
2024-05-23 16:27:50 +01:00
Henry Mercer
6ccd5631d8
Put TRAP cache cleanup behind a feature flag
2024-05-23 16:27:50 +01:00
Henry Mercer
4f2b1826e9
Add telemetry for TRAP cache cleanup
2024-05-23 16:27:50 +01:00
Henry Mercer
59af9fc5ab
Add specific error for lacking actions:write permission
2024-05-23 16:27:50 +01:00
Henry Mercer
610e72285f
Clean up old TRAP caches
2024-05-23 16:27:50 +01:00
Henry Mercer
898dead2d6
Use automatic pagination mapping function
2024-05-23 16:27:50 +01:00
Henry Mercer
1bea17f717
Log key and ref for which we're retrieving caches
2024-05-23 16:27:50 +01:00
Henry Mercer
0b4214972e
Invoke cleanup in analyze Action
2024-05-23 16:27:50 +01:00
Henry Mercer
4fd6c0d4f1
Look at ref rather than default branch
...
Since we'll only cleanup when running on the default branch
2024-05-23 16:27:50 +01:00
Angela P Wen
acdf23828a
Add steady_state_default_setup as field to base status report ( #2305 )
...
This will help us distinguish steady-state runs in default setup mode from advanced setup runs and default setup validation/onboarding runs.
2024-05-22 15:47:59 -07:00
Henry Mercer
087f0b04c6
Restrict TRAP cache cleanup to analyzed language
2024-05-21 22:28:59 +01:00
Henry Mercer
cc96c825ba
List matching Actions caches
2024-05-21 22:27:49 +01:00
Angela P Wen
ebd27c09f6
Classify config file and out of disk CLI errors as config errors ( #2297 )
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2024-05-20 11:03:44 -07:00
github-actions[bot]
de1ac31508
Update default bundle to codeql-bundle-v2.17.3
2024-05-15 13:44:51 +00:00
Koen Vlaswinkel
a57c67b895
Merge pull request #2286 from github/koesie10/ghec-dr-db-upload
...
Enable database uploads for GHEC-DR
2024-05-15 14:49:47 +02:00
Koen Vlaswinkel
931fabe1ef
Remove feature flag for combine SARIF files deprecation warning
2024-05-14 11:00:12 +02:00
Koen Vlaswinkel
24766fcf56
Fix trailing slash on uploads URL
2024-05-13 16:31:17 +02:00
Fotis Koutoulakis (@NlightNFotis)
df4819e3a1
Soften deprecation message wording and remove unhelpful version strings from some locations
2024-05-13 14:51:06 +01:00
Fotis Koutoulakis (@NlightNFotis)
bcc13653e8
Move logging messages to downstream function and add deprecation notice
2024-05-13 14:51:06 +01:00
Fotis Koutoulakis (@NlightNFotis)
4522b08a7e
[SYNC] Sync files in lib/ as requested by CI check that is failing
2024-05-13 14:51:06 +01:00
Fotis Koutoulakis (@NlightNFotis)
998a4c720d
Change overriding log message to make default version more explicit.
2024-05-13 14:51:06 +01:00
Fotis Koutoulakis (@NlightNFotis)
c92bbd4223
Add test for CodeQL version appearing in log.
2024-05-13 14:51:06 +01:00
Fotis Koutoulakis (@NlightNFotis)
cff15d7117
Add logging for CodeQL CLI Version and add tests to the logger for it.
2024-05-13 14:51:06 +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
Koen Vlaswinkel
90e315a7a8
Update tests for GHEC-DR
2024-05-13 14:09:58 +02:00
Koen Vlaswinkel
bc3670a4f4
Enable database uploads for GHEC-DR
2024-05-13 13:27:07 +02:00
Henry Mercer
67f8a36bdb
Merge branch 'main' into henrymercer/on-demand-ffs
2024-05-10 11:32:35 +01:00
Henry Mercer
5ac5c91bc1
End tracing early in autobuild Action for improved performance and reliability
...
This lets us achieve some performance and reliability improvements for
workflows that run autobuild directly without specifying a build mode.
2024-05-09 15:06:36 +01:00
Henry Mercer
7a6352f8e6
Don't call trace-command when the indirect tracer has already been started
2024-05-09 14:25:25 +01:00
Henry Mercer
cf4c3b4434
Remove "_enabled" suffix from non-legacy features
2024-05-09 12:38:10 +01:00
Henry Mercer
9dc84e9abe
Log feature flags on separate lines in debug mode
...
This prevents them from being truncated.
2024-05-09 12:38:10 +01:00
Henry Mercer
c49579ba44
Add support for on-demand feature flags
2024-05-09 11:42:38 +01:00
Andrew Eisenberg
7d9b7a1870
Merge pull request #2274 from github/aeisenberg/no-warn-workflow_call
...
Avoid warning on workflow_call triggers
2024-05-08 11:43:37 -07:00
Henry Mercer
b1c3187939
Add more invalid SARIF processing errors
2024-05-08 13:36:10 +01:00
Henry Mercer
45fb58ab31
Add user error for gracefully running out of memory
...
As opposed to being killed by the JVM, which is a failure not a
user error.
2024-05-08 13:21:19 +01:00
Henry Mercer
ec1179000d
Add user error for "Pack cannot be found"
2024-05-08 13:20:03 +01:00
Andrew Eisenberg
ca7f194e36
Avoid warning on workflow_call triggers
...
Typically, we warn when there is no `push` trigger in the
workflow file that triggered this run. However, when this
action is triggered by a `workflow_call` event, we assume
there is a custom process for triggering the action and we
don't want to warn in this case.
2024-05-07 13:30:06 -07:00
Henry Mercer
4b812a5dff
Merge pull request #2270 from github/update-bundle/codeql-bundle-v2.17.2
...
Update default bundle to 2.17.2
2024-05-07 12:13:33 +01:00
Marco Gario
4673d41da1
Build js files
2024-05-06 18:44:55 +00:00
Koen Vlaswinkel
b20bf5914d
Remove CLI SARIF merge feature flag
2024-05-03 15:14:12 +02:00
github-actions[bot]
e62cc70a8b
Update default bundle to codeql-bundle-v2.17.2
2024-05-02 20:40:26 +00:00
Koen Vlaswinkel
5d274be858
Update CodeQL deprecation message
2024-05-02 14:02:42 +02:00
Koen Vlaswinkel
3a471a06fa
Update comment
2024-05-02 14:01:44 +02:00
Koen Vlaswinkel
725ed4139d
Add tests for shouldShowCombineSarifFilesDeprecationWarning
2024-05-02 10:20:11 +02:00