Michael B. Gale
|
2773684c29
|
Update test for changed test API
|
2026-07-13 09:31:38 +01:00 |
|
Michael B. Gale
|
66c15f441a
|
Merge remote-tracking branch 'origin/main' into mbg/config/merge
|
2026-07-13 09:25:36 +01:00 |
|
Michael B. Gale
|
8096e4f957
|
Merge pull request #4005 from github/mbg/test-env/improvements
Improve `TestEnv` for cleaner tests
|
2026-07-11 05:25:00 +00:00 |
|
Michael B. Gale
|
f630f8fd04
|
Report invalid keys separately
|
2026-07-10 14:39:08 +01:00 |
|
Michael B. Gale
|
26cbf9f504
|
Don't include nested keys that are unknown
|
2026-07-10 14:34:33 +01:00 |
|
Michael B. Gale
|
e26215c5d8
|
fixup! Track invalid keys, and use more standard JSON path notation
|
2026-07-10 14:25:15 +01:00 |
|
Michael B. Gale
|
0b10dee3ee
|
Propagate CheckSchemaOptions to allow failFast to work as intended
|
2026-07-10 14:24:33 +01:00 |
|
Michael B. Gale
|
512bf6f1a3
|
Track invalid keys, and use more standard JSON path notation
|
2026-07-10 14:21:41 +01:00 |
|
Michael B. Gale
|
8d8f054dfa
|
Add convenience functions to produce CheckSchemaResult values
|
2026-07-10 13:18:45 +01:00 |
|
Michael B. Gale
|
e4752e74e1
|
Remove keys from unrecognised set as soon as found
|
2026-07-10 13:10:25 +01:00 |
|
Michael B. Gale
|
cee0056fc0
|
Allow nested checking
|
2026-07-10 00:43:05 +01:00 |
|
Michael B. Gale
|
7c961fa357
|
Add diagnostic for unrecognised keys
|
2026-07-10 00:14:19 +01:00 |
|
Michael B. Gale
|
847e7af699
|
Log warning for unrecognised keys in Default Setup config
|
2026-07-10 00:11:17 +01:00 |
|
Michael B. Gale
|
9573f05654
|
Improve type inference for object and validateSchema
|
2026-07-10 00:01:13 +01:00 |
|
Michael B. Gale
|
98dbd66eae
|
Add an object Validator
|
2026-07-09 23:42:28 +01:00 |
|
Michael B. Gale
|
1f91ec8f3c
|
Add an array Validator
|
2026-07-09 23:36:50 +01:00 |
|
Michael B. Gale
|
dc2d916874
|
Add checkSchema function
|
2026-07-09 23:28:02 +01:00 |
|
Michael B. Gale
|
6973946465
|
Check file on disk and mutated inputs
|
2026-07-09 23:09:14 +01:00 |
|
Michael B. Gale
|
6829d6ce38
|
Remove obsolete JSDoc parameter for loadUserConfig
|
2026-07-09 23:02:58 +01:00 |
|
Michael B. Gale
|
d2472aa525
|
Merge remote-tracking branch 'origin/main' into mbg/config/merge
|
2026-07-09 23:01:05 +01:00 |
|
Michael B. Gale
|
ff973a1072
|
Merge branch 'main' into mbg/start-proxy/make-git-repos-always-available
|
2026-07-09 22:55:04 +01:00 |
|
Michael B. Gale
|
9a9ab4cc7d
|
Make throwsAsync arg async
|
2026-07-09 22:45:33 +01:00 |
|
Michael B. Gale
|
d8866c2578
|
fixup! Add action vars helpers to BaseEnvBuilder
|
2026-07-09 22:40:38 +01:00 |
|
Michael B. Gale
|
d0a69d77dc
|
Clone env and actions so that sinon stubs survive
|
2026-07-09 20:03:27 +01:00 |
|
Michael B. Gale
|
a1e3f70a6f
|
Add satisfies for state in BaseEnvBuilder constructor
|
2026-07-09 20:03:27 +01:00 |
|
Michael B. Gale
|
6b3ba17c47
|
Fix typo
|
2026-07-09 20:03:27 +01:00 |
|
Michael B. Gale
|
da75ca58fa
|
Add action vars helpers to BaseEnvBuilder
|
2026-07-09 20:03:26 +01:00 |
|
Michael B. Gale
|
ab6fd520bd
|
Accept Env for setupActionsVars
Also extract env var strings into `ActionsEnvVars`
|
2026-07-09 20:03:26 +01:00 |
|
Michael B. Gale
|
c77051d879
|
Allow withActions and withEnv to mutate values
|
2026-07-09 20:03:26 +01:00 |
|
Michael B. Gale
|
1a57d7ae11
|
Simplify checking logs
|
2026-07-09 20:03:26 +01:00 |
|
Michael B. Gale
|
6a782906dc
|
Add abstract BaseEnvBuilder to enforce that clone is overriden by subclasses
|
2026-07-09 20:03:26 +01:00 |
|
Michael B. Gale
|
a4319e3365
|
Split EnvBuilder into it + CallableEnvBuilder
|
2026-07-09 20:03:26 +01:00 |
|
Michael B. Gale
|
a8ac1e029c
|
Rename TestEnv to EnvBuilder
|
2026-07-09 20:03:25 +01:00 |
|
Michael B. Gale
|
b571644f21
|
Clean-up passes by splitting it into passes and throws
|
2026-07-09 20:03:25 +01:00 |
|
Michael B. Gale
|
31842a7e06
|
Simplify return types for passes
|
2026-07-09 20:03:25 +01:00 |
|
Michael B. Gale
|
0c7580ae89
|
Merge pull request #3956 from github/update-supported-enterprise-server-versions
Update supported GitHub Enterprise Server versions
|
2026-07-09 14:59:18 +00:00 |
|
Michael B. Gale
|
4b164dbc17
|
Add CODE_SCANNING_* vars to EnvVar enum
|
2026-07-09 14:51:22 +01:00 |
|
Michael B. Gale
|
97b52d19da
|
Simplify getTemporaryDirectory
|
2026-07-09 14:51:22 +01:00 |
|
Michael B. Gale
|
3f2a29899f
|
Default to getEnv in setupBaseActionsVars
|
2026-07-09 14:51:22 +01:00 |
|
Michael B. Gale
|
80dcb7ccdf
|
Add RUNNER_ENVIRONMENT to ActionsEnvVars
|
2026-07-09 14:51:22 +01:00 |
|
Michael B. Gale
|
a440e35eda
|
Move ActionsEnvVars to environment.ts
|
2026-07-09 12:48:49 +01:00 |
|
Michael B. Gale
|
be67a7be93
|
Add hasChanged method to Env
|
2026-07-09 12:41:31 +01:00 |
|
Michael B. Gale
|
732911a2fa
|
Turn Env into a class, and add ReadOnlyEnv
|
2026-07-09 12:38:40 +01:00 |
|
Michael B. Gale
|
1d0e1b20e5
|
Move env var getters out of util.ts
|
2026-07-09 12:20:20 +01:00 |
|
Michael B. Gale
|
4c868b3e7e
|
Allow setting environment variables
|
2026-07-09 12:14:09 +01:00 |
|
Michael B. Gale
|
8d24507592
|
Allow env input for relevant functions in actions-util.ts
|
2026-07-09 12:14:07 +01:00 |
|
Michael B. Gale
|
c7d9083db4
|
Make ALWAYS_ENABLED_REGISTRY_TYPE read-only
|
2026-07-09 12:05:14 +01:00 |
|
Michael B. Gale
|
2831d9a0e9
|
Fix previously wrong comment
|
2026-07-09 12:03:31 +01:00 |
|
Michael B. Gale
|
06898d7b8b
|
Rename mergeUserConfigs
|
2026-07-08 17:46:02 +01:00 |
|
Michael B. Gale
|
7ccd988125
|
Merge branch 'main' into mbg/config/merge
|
2026-07-08 17:31:19 +01:00 |
|