Henry Mercer
5b74166227
Move BuildMode to util.ts
2024-04-12 16:37:13 +01:00
Henry Mercer
829376a618
Allow feature flags to specify tool feature requirements
2024-04-12 16:15:12 +01:00
Michael B. Gale
efc474680f
Downgrade log levels for some messages to debug
2024-04-12 14:04:44 +01:00
Michael B. Gale
93f93fc2ad
Include "Linux" in diagnostic name and message
2024-04-12 14:01:43 +01:00
Michael B. Gale
1ac88f37c7
Unconditionally report unwritten diagnostics at the end of the init Action
2024-04-12 14:00:33 +01:00
Michael B. Gale
3901d1208a
Unify error messages in getFileType
2024-04-12 13:22:28 +01:00
Michael B. Gale
4b0172d9c2
Store diagnostics in memory until the database is available
2024-04-11 17:21:17 +01:00
Michael B. Gale
d4e7b0e493
Check that the database exists before writing diagnostics to it
2024-04-11 17:20:51 +01:00
Michael B. Gale
1829b70201
Emit diagnostic if file is not installed
2024-04-11 17:20:48 +01:00
Michael B. Gale
8ea1a11e72
Produce a clearer error message when file is not installed
2024-04-11 12:57:47 +01:00
Henry Mercer
987236cc0f
Merge branch 'main' into henrymercer/remove-support-codeql-2.12.5
2024-04-09 18:57:26 +01:00
Henry Mercer
1a60a91726
Remove support for CodeQL v2.12.5 and earlier
2024-04-09 12:29:14 +01:00
Henry Mercer
8f1e24411b
Bump minimum CodeQL Bundle version to 2.12.6
2024-04-09 12:19:20 +01:00
github-actions[bot]
218c52e7c7
Rebuild
2024-04-09 10:47:15 +00:00
Henry Mercer
dd2106d0d1
Merge branch 'main' into RasmusWL/remove-python-dep-inst
2024-04-09 11:45:03 +01:00
Rasmus Wriedt Larsen
7c23a5e578
Fix lint
2024-04-08 13:05:34 +02:00
Rasmus Wriedt Larsen
746a1af6ad
Rebuild
2024-04-08 12:02:58 +02:00
Rasmus Wriedt Larsen
1f8d877ef2
fix comment
2024-04-08 12:02:45 +02:00
Rasmus Wriedt Larsen
d33e75159d
Warn on deprecated Python dep inst config usage
2024-04-08 11:58:31 +02:00
github-actions[bot]
bcb5e6e0b8
Rebuild
2024-04-08 09:27:23 +00:00
Rasmus Wriedt Larsen
4e8e3439dd
Merge branch 'main' into RasmusWL/remove-python-dep-inst
2024-04-08 10:25:42 +02:00
Andrew Eisenberg
4a666f8539
Add the overwrite flag when init-ing databases
...
This ensures that if there is a database already in the filesystem, we
can gracefully handle creating a new one. This sometimes happens when
a user is on a self-hosted runner and neglects to clean state across
runs.
2024-04-05 15:02:18 -07:00
Angela P Wen
7df281f2fe
Gracefully continue if createStatusReportBase throws ( #2225 )
...
Previously, we weren't catching any possible exceptions in `createStatusReportBase` and runs would fail if any of the telemetry sub-items threw exceptions. As telemetry should not block the analysis, we continue here even if the status report throws.
2024-04-04 15:26:14 -07:00
Nick Fyson
5f535debfe
Merge pull request #2221 from github/nickfyson/upload-logging
...
improve logging coverage during sarif upload
2024-04-04 17:30:55 +01:00
Rasmus Wriedt Larsen
6ab7733abd
build
2024-04-04 17:15:39 +02:00
Chuan-kai Lin
65e69c8a4b
Merge branch 'main' into update-bundle/codeql-bundle-v2.17.0
2024-04-04 07:23:39 -07:00
nickfyson
c037115ddf
clarify logging in response to pr review comments
2024-04-03 21:19:06 +01:00
nickfyson
d3c32a84cb
fix test to respect updated logging behaviour
2024-04-03 21:04:50 +01:00
Nick Fyson
26540626a5
Merge branch 'main' into nickfyson/upload-logging
2024-04-03 20:54:58 +01:00
nickfyson
d3257627d7
fix linting error
2024-04-03 20:50:03 +01:00
nickfyson
978bdd643f
fix test that runs flakily locally
2024-04-03 20:43:26 +01:00
Nick Fyson
2cc8bbd0e0
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2024-04-03 20:42:48 +01:00
Henry Mercer
dcf00b3fd4
Account for varying major version number in error message
2024-04-03 15:50:23 +01:00
nickfyson
6514cbb626
improve logging coverage when uploaing sarif files
2024-04-03 15:45:28 +01:00
Henry Mercer
f06c933b16
Update soon to be deprecated CodeQL version
2024-04-03 15:44:00 +01:00
Henry Mercer
eda4878a3d
Only pass --new-analysis-summary if it is not default behavior
2024-04-03 15:39:22 +01:00
github-actions[bot]
eeaea14a62
Update supported GitHub Enterprise Server versions
2024-04-03 00:11:45 +00:00
github-actions[bot]
f4936c4c20
Update default bundle to codeql-bundle-v2.17.0
2024-04-02 19:07:23 +00:00
Koen Vlaswinkel
016720d81f
Refactor areAllRunsProducedByCodeQL to use Array.every
2024-03-26 11:09:44 +01:00
Koen Vlaswinkel
f835435c19
Rename run to uploadArtifacts
2024-03-26 11:05:21 +01:00
Koen Vlaswinkel
58194bf81a
Do not require debug mode for debugging uploads
2024-03-26 11:05:04 +01:00
Koen Vlaswinkel
82b82e58c0
Only upload combined SARIF files when env var is set
2024-03-25 10:15:42 +01:00
Koen Vlaswinkel
3c4b8bc120
Change log levels
2024-03-25 10:15:37 +01:00
Koen Vlaswinkel
a0a63a2dd4
Do not try merging a single SARIF file
2024-03-25 10:15:16 +01:00
Koen Vlaswinkel
3bd271cec3
Introduce areAllRunsProducedByCodeQL function
2024-03-25 10:14:59 +01:00
Koen Vlaswinkel
70aa50b057
Use runTool for mergeResults
2024-03-25 10:13:21 +01:00
Koen Vlaswinkel
6ac57535de
Use options object instead of boolean for mergeResults
2024-03-25 10:13:15 +01:00
Koen Vlaswinkel
e20c273295
Use supportsFeature check for merging SARIF files
2024-03-22 14:15:42 +01:00
Koen Vlaswinkel
2bbafcdd7f
Upload debug artifacts for upload-sarif
2024-03-22 14:15:17 +01:00
Koen Vlaswinkel
7e30c622b0
Use subdirectory for combined SARIF file
2024-03-22 14:15:16 +01:00