Commit Graph

10102 Commits

Author SHA1 Message Date
Michael B. Gale
d4b3323463 Use TS script in workflow 2026-07-14 14:48:06 +01:00
Michael B. Gale
fd0ae66c1e Restore some comments 2026-07-14 14:48:05 +01:00
Michael B. Gale
e2472fc5f9 Make processChangelogForBackports dry-run-aware 2026-07-14 14:48:05 +01:00
Michael B. Gale
4b861b89fc Move changelog-related definitions into their own module 2026-07-14 14:48:01 +01:00
Michael B. Gale
4f688dedd0 Make dependencies explicit 2026-07-14 14:45:17 +01:00
Michael B. Gale
28a0813a12 Fix comment 2026-07-14 14:44:54 +01:00
Michael B. Gale
3d2713f64e Merge remote-tracking branch 'origin/main' into mbg/config/merge 2026-07-14 14:37:49 +01:00
Michael B. Gale
2c45c8158b Add DryRunOption interface 2026-07-14 14:18:45 +01:00
Michael B. Gale
5c030f4a48 Add summary comment 2026-07-14 14:18:44 +01:00
Michael B. Gale
78d71fb252 Create PR 2026-07-14 14:18:44 +01:00
Michael B. Gale
5e212030b8 Add prepareNewBranch 2026-07-14 14:18:44 +01:00
Michael B. Gale
639fc5d7ea Add changelog helpers 2026-07-14 14:18:44 +01:00
Michael B. Gale
c8ed70e459 Add rebuildAction function 2026-07-14 14:18:43 +01:00
Michael B. Gale
212aa33f48 Add runCommand 2026-07-14 14:18:43 +01:00
Michael B. Gale
460cc0c970 Add dry run support and push branch 2026-07-14 14:18:43 +01:00
Michael B. Gale
557921759b Check whether the new branch exists 2026-07-14 14:18:43 +01:00
Michael B. Gale
c3da0a9ad3 Fetch commit info 2026-07-14 14:18:43 +01:00
Michael B. Gale
4ca9f5301b Add runGit and use it to obtain the source branch SHA 2026-07-14 14:18:42 +01:00
Michael B. Gale
440cebc19d Add getCurrentVersion 2026-07-14 14:18:42 +01:00
Michael B. Gale
1b146d1b6a Validate target branch and extract major version 2026-07-14 14:18:42 +01:00
Michael B. Gale
d0b11cae68 Make script executable 2026-07-14 14:18:42 +01:00
Michael B. Gale
a10d7a7891 Parse command line options 2026-07-14 14:18:42 +01:00
Michael B. Gale
14952376dc Add getGitHubToken 2026-07-14 14:18:41 +01:00
Michael B. Gale
85052938f8 Add constants 2026-07-14 14:18:41 +01:00
Michael B. Gale
4c2bf01170 Scaffold basic update-release-branch.ts 2026-07-14 14:18:41 +01:00
Michael B. Gale
2f9048cfbd Require BaseState to be declared explicitly 2026-07-14 10:12:44 +01:00
Michael B. Gale
2dbfdcaa83 Add Api to ActionState 2026-07-14 10:09:03 +01:00
Michael B. Gale
1542951d09 Type the API client 2026-07-14 10:09:03 +01:00
Michael B. Gale
4fb6147969 Add ReadOnlyEnv to FeatureState 2026-07-14 10:07:42 +01:00
Michael B. Gale
f133996fb5 Merge pull request #4006 from github/mbg/json/schema-checker
Add schema checker to `json` module
2026-07-13 15:28:24 +00:00
Michael B. Gale
50b3687dd7 Specify custom config-file in start-proxy check 2026-07-13 16:24:54 +01:00
Michael B. Gale
b6d92e33f7 Set CODEQL_PROXY_* vars for init step in test workflow 2026-07-13 16:16:00 +01:00
Michael B. Gale
b0eaa56a8f Set language inputs in start-proxy check workflow 2026-07-13 16:16:00 +01:00
Michael B. Gale
e387ec1de1 Move init step at the end of start-proxy test workflow 2026-07-13 16:16:00 +01:00
Michael B. Gale
a29dee455c Add minimal proxy init code 2026-07-13 16:15:58 +01:00
Michael B. Gale
5172487de5 Allow getTestEnv to be parameterised over initial env 2026-07-13 16:15:40 +01:00
Michael B. Gale
8763bac625 Add RegistryProxyVars enum 2026-07-13 16:15:40 +01:00
Michael B. Gale
dab0ab7cb7 Make undici an explicit dependency 2026-07-13 16:15:36 +01:00
Michael B. Gale
0c2cea31ba Break out of loop to allow result object to be updated after failing fast 2026-07-13 14:47:38 +01:00
Michael B. Gale
75773288da Return function result from passes alongside assertion result 2026-07-13 10:27:29 +01:00
Michael B. Gale
3f1e4da48d Propagate and prefer invalidKeys from element validator in array validator 2026-07-13 10:23:24 +01:00
Michael B. Gale
89343ee1aa Fix checkSchema test names 2026-07-13 10:22:19 +01:00
Michael B. Gale
ba5fbf159a Propagate CheckSchemaOptions to allow failFast to work as intended 2026-07-13 10:16:24 +01:00
Michael B. Gale
9a1225df61 Track invalid keys, and use more standard JSON path notation 2026-07-13 10:15:59 +01:00
Michael B. Gale
aec5441507 Add convenience functions to produce CheckSchemaResult values 2026-07-13 10:14:49 +01:00
Michael B. Gale
f8ed33e067 Remove keys from unrecognised set as soon as found 2026-07-13 10:14:13 +01:00
Michael B. Gale
ec0b8ae45f Allow nested checking 2026-07-13 10:14:02 +01:00
Michael B. Gale
36ef889329 Improve type inference for object and validateSchema 2026-07-13 10:13:13 +01:00
Michael B. Gale
50d76e2fa3 Add an object Validator 2026-07-13 10:13:05 +01:00
Michael B. Gale
6a62e99aa7 Add an array Validator 2026-07-13 10:12:56 +01:00