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
Mario Campos
5532d8e11e
Merge pull request #4218 from github/mario-campos/loosen-changenote-validation
...
Do not validate change-note file names or frontmatter
2026-10-09 17:45:19 +00:00
Michael B. Gale
68f5b579fa
Merge pull request #4212 from github/mbg/tests/fix-export-variable-2
...
Do not use `core.exportVariable` in unit tests (2nd attempt)
2026-10-09 17:38:52 +00:00
Mario Campos
45cda5b577
Delete unused path import
2026-10-09 08:57:09 -05:00
Michael B. Gale
e57c0e65dd
Fix type inference for ActionState
2026-10-09 14:21:47 +01:00
Mario Campos
1ced68ed2f
Do not validate change-note file names or frontmatter
...
Presently, the strict filename or frontmatter are not being used; so we're validating them unnecessarily. So, for now, remove these checks until we decide to either do something with them, or delete the code entirely.
2026-10-08 15:11:43 -05:00
Mario Campos
13b1321685
Refine misc. wording of unreleased-change-notes/README.md
...
Co-authored-by: Michael B. Gale <mbg@github.com >
2026-10-08 15:01:05 -05:00
Mario Campos
cc826bb8e3
Delete unnecessary guidance for change-note body
2026-10-08 14:57:03 -05:00
Mario Campos
40d76bc727
Use actual CHANGELOG.md entries for example change-note
2026-10-08 14:55:23 -05:00
Michael B. Gale
bd97dda6bf
Add and use __CODEQL_ACTION_TEST_ENV__ in tests
2026-10-08 20:23:37 +01:00
Michael B. Gale
d6196d8703
Rename exportVariable wrapper to exportEnvVar
2026-10-08 20:06:51 +01:00
Mario Campos
3acc10a2ce
Exclude README.md from change-note validation and assembly
2026-10-08 12:53:37 -05:00
Mario Campos
2a935ca93d
Move change-note documentation to unreleased-change-notes/README.md
2026-10-08 12:48:24 -05:00
Mads Navntoft
5aa5056e2d
Merge pull request #4215 from github/mergeback/v4.38.3-to-main-24c54180
...
Mergeback v4.38.3 refs/heads/releases/v4 into main
2026-10-08 13:58:42 +00:00
Henry Mercer
768784f193
Merge branch 'main' into henrymercer/require-codeql-2-20-7
2026-10-08 14:29:21 +01:00
github-actions[bot]
ea60dc6408
Rebuild
2026-10-08 13:01:10 +00:00