Commit Graph

10812 Commits

Author SHA1 Message Date
Michael B. Gale
5407aff91b Include URL to announcement in diagnostic and log messages 2026-10-20 17:48:19 +00:00
Michael B. Gale
4d3453064e Add e2e test 2026-10-20 17:48:19 +00:00
Michael B. Gale
fa3256a628 Don't perform check for non-traced analyses 2026-10-20 17:48:19 +00:00
Michael B. Gale
d11751fd79 Refactor non-Swift-specific parts out into traced.ts 2026-10-20 17:48:19 +00:00
Michael B. Gale
50c6017169 Rename feature to SkipUnsupportedTracedAnalysis 2026-10-20 17:48:19 +00:00
Michael B. Gale
e5beb09ff8 Move xcodeVersion to platform.ts 2026-10-20 17:48:19 +00:00
Michael B. Gale
c9a4f525c1 Use ActionConfig in diagnostics.ts 2026-10-20 17:48:19 +00:00
Michael B. Gale
c4476d14b8 Fix test creating diagnostic locally 2026-10-20 17:48:19 +00:00
Michael B. Gale
7ecbe1c837 Check if Xcode version is unsupported 2026-10-20 17:48:19 +00:00
Michael B. Gale
0f2d6a8cd3 Add function to determine Xcode version based on symlink 2026-10-20 17:48:19 +00:00
Michael B. Gale
943789423c Add FF to fail if macOS version is unsupported 2026-10-20 17:48:19 +00:00
Michael B. Gale
4d503a48ac Check if macOS version is unsupported 2026-10-20 17:48:19 +00:00
Michael B. Gale
d886064923 Skip Swift checks if tools feature is enabled 2026-10-20 17:48:19 +00:00
Michael B. Gale
7bf3a0b3f7 Add swiftSupportsAllPlatforms to ToolsFeature 2026-10-20 17:48:19 +00:00
Michael B. Gale
97026fd991 Use macOSVersion in isSwiftCompatible 2026-10-20 17:48:19 +00:00
Michael B. Gale
1d6de2df20 Refactor swift check out of init-action.ts 2026-10-20 17:48:19 +00:00
Michael B. Gale
7ff1344e69 Add macOSVersion helper 2026-10-20 17:48:19 +00:00
Michael B. Gale
3487fbafb2 Make getCodeQLForCmd use Env 2026-10-20 17:48:19 +00:00
Michael B. Gale
886bf9a3c9 Add osRelease to BaseState 2026-10-20 17:48:19 +00:00
Michael B. Gale
b963054f39 Add e2e test 2026-10-20 17:48:17 +00:00
Michael B. Gale
ba569ac626 Omit --sarif-codescanning-config if the config file doesn't exist 2026-10-20 17:48:17 +00:00
Michael B. Gale
581a0e148e Refactor writeTemporaryDiagnosticFile out of add[NoLanguage]Diagnostic 2026-10-20 17:48:17 +00:00
Michael B. Gale
64723df932 Use temporary diagnostic dir in generateFailedSarif 2026-10-20 17:48:17 +00:00
Michael B. Gale
67f25913cb Make diagnostics less dependent on global state
Add limited test coverage
2026-10-20 17:48:17 +00:00
Michael B. Gale
f422d8a874 Write diagnostics to temporary location when database isn't ready 2026-10-20 17:48:17 +00:00
Michael B. Gale
56e0d42f68 Refactor writeDiagnosticFile out of writeDiagnostic 2026-10-20 17:48:17 +00:00
Michael B. Gale
3dd33f8b69 Merge pull request #4249 from github/mbg/upload-improvements-for-4223
Failed SARIF testing and logging improvements
2026-10-20 17:35:13 +00:00
Michael B. Gale
b96e3390db Change comment for getConfig call in upload-sarif 2026-10-20 18:07:32 +01:00
Michael B. Gale
7fa45180db Use shouldSkipSarifUpload in analyze-action.ts 2026-10-20 18:06:24 +01:00
Michael B. Gale
a69c7cb332 Document that setting the env vars to false takes precedence 2026-10-20 18:02:30 +01:00
Michael B. Gale
74ddcd9f65 Fix typo in comment 2026-10-20 17:59:12 +01:00
Michael B. Gale
950b1479a1 Ensure that rootDirectory is suitable for sarifFile in uploadSarifArtifact 2026-10-20 16:07:25 +00:00
Michael B. Gale
5b69b28796 Improve logging in uploadSarifArtifact 2026-10-20 16:07:25 +00:00
Michael B. Gale
1d373e07cd Upload failed SARIF as workflow artifact in test mode 2026-10-20 16:07:25 +00:00
Michael B. Gale
e7340eea1b Skip waiting for SARIF if nothing was uploaded 2026-10-20 16:07:25 +00:00
Michael B. Gale
02fb8cc38a Propagate Config to combineSarifFilesUsingCLI 2026-10-20 16:07:25 +00:00
Michael B. Gale
6e9aec682d Add and use shouldSkipGenerateFailedSarif 2026-10-20 16:07:25 +00:00
Michael B. Gale
a9cd2f9fa7 Allow to explicitly not skip the SARIF upload 2026-10-20 16:07:25 +00:00
Michael B. Gale
be1223f63e Log when we didn't get a normal configuration file 2026-10-20 16:07:25 +00:00
Michael B. Gale
0fda7a646f Merge pull request #4248 from github/mbg/move-diag-export-script
Move inline script from `diagnostics-export.yml` to a `.ts` file
codeql-bundle-v2.27.3
2026-10-20 15:53:36 +00:00
Michael B. Gale
3db7caf901 Merge pull request #4219 from github/mbg/ci/improve-pr-checks-triggers
Improve `pr-checks.yml` triggers and conditions
2026-10-16 20:31:59 +00:00
Michael B. Gale
604377fd2d Move inline script from diagnostics-export.yml to a .ts file 2026-10-16 16:53:07 +01:00
Michael B. Gale
83e1837c6d Merge pull request #4247 from github/mbg/copilot/clarify-feature-flags
Add Copilot instructions for FFs, and update documentation more generally
2026-10-16 15:20:34 +00:00
Michael B. Gale
5ecf3b32e9 Suggest "Minor" prefix 2026-10-16 16:03:32 +01:00
Michael B. Gale
e461913b38 Drop "requests" again 2026-10-16 16:03:00 +01:00
Michael B. Gale
6992155901 Elaborate GHES details 2026-10-16 16:02:01 +01:00
Michael B. Gale
f3c93e3106 Add some guidelines for change notes 2026-10-16 15:32:50 +01:00
Michael B. Gale
2441e6e56e Update "Review instructions" based on recent reviews 2026-10-16 15:31:56 +01:00
Michael B. Gale
0d2baf6822 Update copilot-instructions.md to mention feature flags 2026-10-16 15:11:17 +01:00
Henry Mercer
ae098fa9fe Merge pull request #4242 from github/henrymercer/graduate-toolcache-cleanup
Enable cleaning up toolcache bundles by default
2026-10-16 12:43:00 +00:00