Commit Graph

10668 Commits

Author SHA1 Message Date
Michael B. Gale
9104ff3a11 Scaffold validation job 2026-10-12 17:51:15 +01:00
Michael B. Gale
a4fe152ba9 Log when we didn't get a normal configuration file 2026-10-12 17:24:21 +01:00
Michael B. Gale
bf0c20744a Upload failed SARIF as workflow artifact in test mode 2026-10-12 17:23:59 +01:00
Michael B. Gale
9cd21186b1 Add test for new generateFailedSarif behaviour 2026-10-12 16:56:51 +01:00
Michael B. Gale
61b1d55aa5 Address EXDEV issue 2026-10-12 16:37:06 +01:00
Michael B. Gale
93b4ae6c0e Handle failures in writeTemporaryDiagnosticFile 2026-10-12 16:20:25 +01:00
Michael B. Gale
104d981b76 Refactor writeTemporaryDiagnosticFile out of add[NoLanguage]Diagnostic 2026-10-12 16:15:55 +01:00
Michael B. Gale
ac89bf9d46 Fix typos 2026-10-12 16:09:49 +01:00
Michael B. Gale
7089ca74ea Fix hardcoded path separator 2026-10-12 16:08:41 +01:00
Michael B. Gale
9eeab46818 Add e2e test 2026-10-12 14:14:45 +01:00
Michael B. Gale
e0fedcf877 Use temporary diagnostic dir in generateFailedSarif 2026-10-12 14:09:21 +01:00
Michael B. Gale
bbeb45dd7a Make diagnostics less dependent on global state
Add limited test coverage
2026-10-12 14:09:18 +01:00
Michael B. Gale
50b827040e Write diagnostics to temporary location when database isn't ready 2026-10-12 13:09:59 +01:00
Michael B. Gale
23835d3cbe Refactor writeDiagnosticFile out of writeDiagnostic 2026-10-12 13:09:39 +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
github-actions[bot]
ce3f825b1d Update changelog and version after v4.38.3 2026-10-08 13:01:02 +00:00
Mads Navntoft
24c54180a6 Merge pull request #4214 from github/update-v4.38.3-e0b52dbdc
Merge main into releases/v4
v4.38.3
2026-10-08 14:59:30 +02:00
Henry Mercer
69e87c56c1 Add changelog note for #4184 2026-10-08 13:42:32 +01:00
github-actions[bot]
23b682830b Update changelog for v4.38.3 2026-10-08 12:02:08 +00:00