Commit Graph

10687 Commits

Author SHA1 Message Date
Michael B. Gale
df0bdf35e5 Check if Xcode version is unsupported 2026-10-14 10:35:35 +01:00
Michael B. Gale
abe66b06ae Add function to determine Xcode version based on symlink 2026-10-14 10:35:35 +01:00
Michael B. Gale
43a3059f81 Add FF to fail if macOS version is unsupported 2026-10-14 10:35:34 +01:00
Michael B. Gale
a198c3e411 Check if macOS version is unsupported 2026-10-14 10:35:34 +01:00
Michael B. Gale
50f07e1ba6 Skip Swift checks if tools feature is enabled 2026-10-14 10:35:34 +01:00
Michael B. Gale
1f5e5a0e52 Add swiftSupportsAllPlatforms to ToolsFeature 2026-10-14 10:35:34 +01:00
Michael B. Gale
60ec21d7c9 Use macOSVersion in isSwiftCompatible 2026-10-14 10:35:33 +01:00
Michael B. Gale
93c04eb8f5 Refactor swift check out of init-action.ts 2026-10-14 10:35:33 +01:00
Michael B. Gale
3f8193218a Add macOSVersion helper 2026-10-14 10:35:33 +01:00
Michael B. Gale
803240ed20 Make getCodeQLForCmd use Env 2026-10-14 10:35:33 +01:00
Michael B. Gale
1373d0be15 Add osRelease to BaseState 2026-10-14 10:35:32 +01:00
Michael B. Gale
4061d4ea89 Scaffold validation job 2026-10-14 10:35:31 +01:00
Michael B. Gale
d0bbbf819a Log when we didn't get a normal configuration file 2026-10-14 10:35:31 +01:00
Michael B. Gale
0570c2f5e9 Upload failed SARIF as workflow artifact in test mode 2026-10-14 10:35:30 +01:00
Michael B. Gale
a033fca529 Add test for new generateFailedSarif behaviour 2026-10-14 10:35:30 +01:00
Michael B. Gale
6964da9adb Address EXDEV issue 2026-10-14 10:35:30 +01:00
Michael B. Gale
33049e1967 Handle failures in writeTemporaryDiagnosticFile 2026-10-14 10:35:30 +01:00
Michael B. Gale
7e304e9cf7 Refactor writeTemporaryDiagnosticFile out of add[NoLanguage]Diagnostic 2026-10-14 10:35:29 +01:00
Michael B. Gale
555b654c2c Fix typos 2026-10-14 10:35:29 +01:00
Michael B. Gale
1b0a4317e7 Fix hardcoded path separator 2026-10-14 10:35:29 +01:00
Michael B. Gale
89b1f61746 Add e2e test 2026-10-14 10:35:29 +01:00
Michael B. Gale
3d2a6f22f2 Use temporary diagnostic dir in generateFailedSarif 2026-10-14 10:35:28 +01:00
Michael B. Gale
f61e1c4fea Make diagnostics less dependent on global state
Add limited test coverage
2026-10-14 10:35:28 +01:00
Michael B. Gale
ed5bb3c5a3 Write diagnostics to temporary location when database isn't ready 2026-10-14 10:35:28 +01:00
Michael B. Gale
bf28f43414 Refactor writeDiagnosticFile out of writeDiagnostic 2026-10-14 10:35:28 +01:00
Michael B. Gale
eb94de7c5c Merge pull request #4225 from github/mbg/reduce-config-requirements
Store and restore "failed" configuration if `init` step aborts
2026-10-13 09:34:24 +00:00
Michael B. Gale
9645acc2ff Revert config === undefined condition 2026-10-12 22:54:47 +01:00
Michael B. Gale
6a9f7e7fc3 Log if returning early from recordOverlayStatus due to no languages 2026-10-12 22:50:11 +01:00
Michael B. Gale
67f44bc916 Use Logger for printDebugLogs and log when returning early 2026-10-12 22:48:21 +01:00
Michael B. Gale
26c6f91e6b Throw if aborted config functions are called incorrectly 2026-10-12 22:42:38 +01:00
Michael B. Gale
e3aeabd8f1 Fix example in comment 2026-10-12 22:40:25 +01:00
Michael B. Gale
be78e02f2d Fix comment 2026-10-12 22:39:34 +01:00
Michael B. Gale
bed4cc0475 Add log message for !config.dbLocation case 2026-10-12 22:39:08 +01:00
Michael B. Gale
ac8654a8f2 Add printDebugLogs tests 2026-10-12 13:08:08 +01:00
Michael B. Gale
ecfc96e0a9 Add getDisplayActionName tests 2026-10-12 13:08:01 +01:00
Michael B. Gale
409be01136 Replace deprecated functions in init-action.post.ts 2026-10-12 13:07:55 +01:00
Michael B. Gale
f4a15a13fd Try to load failed config if normal config is unavailable
Adapt relevant functions by narrowing their types or skipping steps that would otherwise have been skipped as well
2026-10-12 13:07:48 +01:00
Michael B. Gale
4fdbb71b54 Use runInActions for init-post 2026-10-12 13:07:38 +01:00
Michael B. Gale
5136039854 Store partial configuration when init is aborted 2026-10-12 13:07:36 +01:00
Michael B. Gale
19445ddfed Reduce Config requirements for tryUploadSarifIfRunFailed 2026-10-12 13:07:13 +01:00
Michael B. Gale
317f264e1f Change diagnosticsExport to not require full Config 2026-10-12 13:07:06 +01:00
Michael B. Gale
309f6af89b Change getGeneratedCodeScanningConfigPath to not require full Config 2026-10-12 13:06:59 +01:00
Michael B. Gale
cf8f7b9787 Add ActionConfig type 2026-10-12 13:06:43 +01:00
Henry Mercer
0db2f2b4a5 Merge pull request #4205 from github/henrymercer/require-codeql-2-20-7
Bump minimum CodeQL CLI version to 2.20.7
2026-10-12 10:04:43 +00:00
Henry Mercer
ae96eed5bb Merge remote-tracking branch 'origin/main' into henrymercer/require-codeql-2-20-7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-12 10:11:02 +01:00
Mario Campos
e4e9b269fe Merge pull request #4211 from github/mario-campos/document-changenotes
Document change-notes process
2026-10-09 23:05:41 +00:00
Michael B. Gale
6e7fe2e990 Merge pull request #4220 from github/mbg/fix-action-state-type-inference
Fix type inference for `ActionState`
2026-10-09 22:31:18 +00:00
Mario Campos
fa56eef12f Delete unnecessary filename/frontmatter validation instructions 2026-10-09 16:48:00 -05:00
Michael B. Gale
71f2680f85 Merge pull request #4209 from github/dependabot/npm_and_yarn/eslint-plugin-jsdoc-65.0.1
Bump eslint-plugin-jsdoc from 64.5.4 to 65.0.1
2026-10-09 17:59:37 +00:00
Michael B. Gale
3b399fec34 Merge branch 'main' into dependabot/npm_and_yarn/eslint-plugin-jsdoc-65.0.1 2026-10-09 18:47:49 +01:00