Commit Graph

3471 Commits

Author SHA1 Message Date
Michael B. Gale 740f177889 Add assertNotLogged test helper 2026-03-16 19:34:32 +00:00
Michael B. Gale 0393130759 Add "token without a username" test 2026-03-16 19:34:32 +00:00
Michael B. Gale f86097dfdb Add params for credentials and checkAccepted to testPATWarning 2026-03-16 19:34:32 +00:00
Michael B. Gale 6e67ef61f2 Refactor PAT test into a test.macro 2026-03-16 19:34:32 +00:00
Michael B. Gale e3200e331b Merge pull request #3563 from github/mbg/private-registry/oidc
Accept OIDC configurations in `start-proxy`
2026-03-13 11:58:36 +00:00
Michael B. Gale 4c356c71a2 Merge pull request #3570 from github/mbg/repo-props/warn-on-unexpected-props
Emit warning for unrecognised repo properties with our common prefix
2026-03-13 11:13:21 +00:00
Michael B. Gale b4937c19e5 Only emit one message with accumulated property names 2026-03-13 10:56:36 +00:00
Michael B. Gale ea703668e0 Avoid bundling package.json
- `package.json` is bundled by `esbuild` because we depend on it in `actions-util.ts`
- That is so we can access the `version` property
- We now use `build.mjs` to define a constant for it instead
- We also set this constant in `ava.setup.mjs` for tests
- This reduces the size of the generated `.js` files and avoids changing them entirely in some cases
2026-03-12 18:55:03 +00:00
Michael B. Gale a717db1a90 Emit warning for unrecognised repo properties with our common prefix 2026-03-12 11:49:17 +00:00
Michael B. Gale 6c99ca514e Merge remote-tracking branch 'origin/main' into mbg/private-registry/oidc 2026-03-11 16:15:07 +00:00
Henry Mercer 997acaf7eb Merge pull request #3562 from github/henrymercer/skip-file-coverage-rollout
Prepare for rolling out skipping computing file coverage information on PRs
2026-03-11 11:33:21 +00:00
Henry Mercer 2e7e91fd63 Merge pull request #3550 from github/sam-robson/overlay-per-lang-min-bundle-version
feat: add minimumVersion values for language overlay flags
2026-03-11 10:28:14 +00:00
Henry Mercer 5cb13d6ab8 Merge pull request #3564 from github/henrymercer/fix-database-upload-retries
Fix retries when uploading databases
2026-03-10 16:56:27 +00:00
Henry Mercer a63886bff5 Refactor: Extract separate function for uploadBundledDatabase 2026-03-10 16:36:02 +00:00
Henry Mercer a11c6cbbc8 Merge branch 'main' into henrymercer/skip-file-coverage-rollout 2026-03-10 16:25:21 +00:00
Michael B. Gale 048d0ea295 Address review comments 2026-03-10 15:54:58 +00:00
Henry Mercer cf972cde0e Update database upload tests to use checkExpectedLogMessages 2026-03-10 15:52:14 +00:00
Henry Mercer ee5ede79f7 Address review comments 2026-03-10 15:51:28 +00:00
Henry Mercer 55a0f2b2aa Add environment variable override 2026-03-10 15:41:40 +00:00
Michael B. Gale c92efdb98d Type result of parsing JSON as unknown until narrowed 2026-03-10 15:31:21 +00:00
Michael B. Gale c6e75ac1e8 Add JSON helper types and functions 2026-03-10 15:31:21 +00:00
Sam Robson 79ea59d97e Merge branch 'main' into sam-robson/overlay-per-lang-min-bundle-version 2026-03-10 14:13:22 +00:00
Michael B. Gale 823869da10 Use isDefined for password and token in credentialToStr 2026-03-10 13:30:52 +00:00
Henry Mercer bef08edf32 Update to log deprecation warning
Move rollout to April
2026-03-10 13:14:00 +00:00
Henry Mercer edfcb0a509 Update tests 2026-03-10 12:49:58 +00:00
Henry Mercer 13c548978d Fix retries when uploading databases 2026-03-10 12:34:18 +00:00
Michael B. Gale 87c3b7b6a1 Merge pull request #3519 from github/mbg/csra/upload-failed-sarif-artifact
Upload failed SARIF for risk assessments in `init-post` step
2026-03-10 11:53:12 +00:00
Henry Mercer ce321daddb Merge branch 'main' into henrymercer/skip-file-coverage-rollout 2026-03-10 11:46:08 +00:00
Henry Mercer 55ae11793a Reduce duplication of getFileCoverageInformationEnabled 2026-03-10 11:42:53 +00:00
Henry Mercer 3d2bdbbd3b Simplify default repo properties 2026-03-10 11:33:00 +00:00
Michael B. Gale 88bd340eb0 Add OIDC tests for getCredentials 2026-03-10 02:14:52 +00:00
Michael B. Gale 4649e158bc Fix old test 2026-03-10 02:14:52 +00:00
Michael B. Gale 3d574205fc Run more start-proxy tests in parallel 2026-03-10 02:14:52 +00:00
Michael B. Gale e168f8e52a Move credentialToStr and update it 2026-03-10 02:14:52 +00:00
Michael B. Gale 7263be2084 Extract AuthConfig from Credential 2026-03-10 01:26:15 +00:00
Michael B. Gale 37eb89b173 Add predicates for Auth types 2026-03-10 01:26:15 +00:00
Michael B. Gale 9e26f9e6e0 Add OIDC config types 2026-03-10 01:26:15 +00:00
Michael B. Gale 01b52624a0 Move out auth config from Credential type 2026-03-10 01:26:15 +00:00
Sam Robson 8bddab0644 Merge branch 'main' into sam-robson/overlay-per-lang-min-bundle-version 2026-03-09 20:23:29 +00:00
Michael B. Gale 65f7f36302 Extend isPrintable check to all keys with string values 2026-03-09 19:06:06 +00:00
Michael B. Gale 746f940d10 Merge remote-tracking branch 'origin/main' into mbg/csra/upload-failed-sarif-artifact 2026-03-09 18:32:36 +00:00
Michael B. Gale 0ad7d7be2f Merge pull request #3560 from github/henrymercer/ghes-3.13-cleanup
Clean up pre GHES 3.14 code paths
2026-03-09 18:00:31 +00:00
Henry Mercer 3592fe5d7a Address review comments 2026-03-09 17:32:57 +00:00
Henry Mercer a3fdd0e0b5 Add telemetry diagnostic to track whether repo property is used 2026-03-09 17:13:41 +00:00
Henry Mercer 9e8c05933f Add ability to override via repository property 2026-03-09 17:08:13 +00:00
Henry Mercer c102a6d8cd Require tools feature flag
And now that we have this, drop the restriction to `github` org.
2026-03-09 17:07:10 +00:00
Sam Robson 867f2b0e0a test: verify overlay analysis is disabled for languages without per-language feature flags 2026-03-09 16:46:38 +00:00
Sam Robson e04697664c feat: add minimumVersion values for existing language-specific overlay feature flags 2026-03-09 16:45:20 +00:00
Henry Mercer ab180c9eeb Clean up pre GHES 3.14 code paths 2026-03-09 16:35:29 +00:00
Henry Mercer 1b7fa1a121 Drop unused variable 2026-03-09 16:30:34 +00:00