Commit Graph

10642 Commits

Author SHA1 Message Date
Henry Mercer
f3c4091584 Revert "Add FS state feature"
This reverts commit e6f5465b76.
2026-10-12 11:56:51 +01:00
Henry Mercer
3715f86254 Revert "Make FS available to init"
This reverts commit 149926c8cd.
2026-10-12 11:56:47 +01:00
Michael B. Gale
b5ce898d79 Replace deprecated functions in init-action.post.ts 2026-10-12 11:29:29 +01:00
Michael B. Gale
0a9e57aaa3 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 11:25:00 +01:00
Michael B. Gale
653a997aa3 Store partial configuration when init is aborted 2026-10-12 11:02:54 +01:00
Michael B. Gale
fd9b9bab05 Reduce Config requirements for tryUploadSarifIfRunFailed 2026-10-12 10:33:15 +01:00
Michael B. Gale
c43f2dc21e Add ActionConfig type 2026-10-12 10:27:31 +01:00
Michael B. Gale
c5b82fa11a Change diagnosticsExport to not require full Config 2026-10-12 10:20:36 +01:00
Michael B. Gale
d509c62268 Change getGeneratedCodeScanningConfigPath to not require full Config 2026-10-12 10:18:15 +01:00
Michael B. Gale
f2e590e24a Use runInActions for init-post 2026-10-10 00:31:17 +01:00
Michael B. Gale
7321bace82 Log more in diagnostics-without-db.ts 2026-10-10 00:06:04 +01:00
Michael B. Gale
2613b9ca2b Fix flushDiagnostics not ensuring directories exist 2026-10-09 23:51:07 +01:00
Michael B. Gale
ea80c51945 Add e2e test 2026-10-09 23:51:07 +01:00
Michael B. Gale
5048f930ba Use temporary diagnostic dir in generateFailedSarif 2026-10-09 23:38:44 +01:00
Michael B. Gale
846426ec75 Make diagnostics less dependent on global state
Add limited test coverage
2026-10-09 23:38:44 +01:00
Michael B. Gale
6ce04baafb Import fs as qualified 2026-10-09 23:17:47 +01:00
Michael B. Gale
9faec68b40 Write diagnostics to temporary location when database isn't ready 2026-10-09 23:17:46 +01:00
Michael B. Gale
07c0bb2946 Refactor writeDiagnosticFile out of writeDiagnostic 2026-10-09 23:17:04 +01:00
Michael B. Gale
149926c8cd Make FS available to init 2026-10-09 23:14:50 +01:00
Michael B. Gale
e6f5465b76 Add FS state feature 2026-10-09 19:33:29 +01:00
Michael B. Gale
290760874e Add fs.ts to abstract over fs 2026-10-09 19:33:17 +01:00
Michael B. Gale
0bd54b0720 Make getCodeQLForCmd use Env 2026-10-09 19:32:58 +01:00
Michael B. Gale
859c0566b6 Add osRelease to BaseState 2026-10-09 19:31:19 +01: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
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
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
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
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
Michael B. Gale
ebd711ff66 Deprecate isInTestMode in favour of a more clearly named method 2026-10-07 20:12:01 +01:00
Michael B. Gale
75ea4cb2e4 Add NODE_ENV as safe environment variable 2026-10-07 20:12:01 +01:00
Michael B. Gale
59ff83ecef Add basic eslint enforcement 2026-10-07 20:12:01 +01:00
Michael B. Gale
1728f0c676 Add wrapper around core.exportVariable 2026-10-07 20:12:00 +01:00
Michael B. Gale
63c5299790 Move isInTestMode to environment.ts 2026-10-07 20:12:00 +01:00
Henry Mercer
e0b52dbdc5 Merge pull request #4210 from github/henrymercer/pin-python-for-older-clis-in-ci
Pin Python 3.13.15 for older CLI versions in the multi-language check
2026-10-07 18:12:41 +00:00
Henry Mercer
6b99698c8c Pin Python 3.13.15 for older CLI versions in multi-language check
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-07 18:58:17 +01:00
dependabot[bot]
d5b1e793ce Bump eslint-plugin-jsdoc from 64.5.4 to 65.0.1
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 64.5.4 to 65.0.1.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v64.5.4...v65.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 65.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-07 17:55:31 +00:00
Mads Navntoft
63d3d632fc Merge pull request #4203 from github/update-bundle/codeql-bundle-v2.27.2
Update default bundle to 2.27.2
2026-10-07 10:00:42 +00:00
github-actions[bot]
7377a10091 Add changelog note 2026-10-07 09:39:57 +00:00
github-actions[bot]
c1a30cda11 Update default bundle to codeql-bundle-v2.27.2 2026-10-07 09:39:50 +00:00
Michael B. Gale
d208ec71e3 Merge pull request #4200 from github/mbg/esm/migrate-pr-checks
Fully migrate `pr-checks` to ESM
codeql-bundle-v2.27.2
2026-10-06 19:24:52 +00:00
Michael B. Gale
a71b0c6684 Replace __dirname in sync.ts 2026-10-06 18:29:58 +01:00