pulumi/sdk/go/common/workspace
Justin Van Patten 23fe012714 Fix regression validating project files with `refresh: always` set
We recently started validating the `Pulumi.yaml` file against its schema, leading to the following error when the `refresh: always` option is specified:

```
error: could not load current project: 1 error occurred:
	* #/options/refresh: expected boolean, but got string
```

The problem is the feature is expecting a string value of `"always"` but the schema for the project file is incorrectly specified as `boolean`.

This change fixes the schema, which avoids the error. A separate change will fix the documentation at https://www.pulumi.com/docs/reference/pulumi-yaml/#options-options
2022-09-22 11:51:54 -07:00
..
creds.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
creds_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
loaders.go Validate as part of Load not Unmarshal 2022-09-02 18:26:49 +01:00
paths.go Fix "no Pulumi.yaml" error message (#10592) 2022-09-02 11:52:58 +02:00
paths_test.go Deprecate Config, replace with StackConfigDir (#9145) 2022-03-13 21:39:22 +00:00
plugins.go Merge #10817 2022-09-22 01:07:17 +00:00
plugins_install_nodejs_test.go ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
plugins_install_python_test.go ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
plugins_install_test.go ci: Re-enable Windows tests with temp dir 2022-09-21 16:32:00 -07:00
plugins_test.go Bring back auto-install plugins 2022-09-13 16:40:09 +02:00
project.go Cleanup dead code 2022-09-16 12:18:04 +01:00
project.json Fix regression validating project files with `refresh: always` set 2022-09-22 11:51:54 -07:00
project_test.go lint 2022-09-16 17:24:34 +01:00
settings.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
templates.go Add token auth to git go module (#10628) 2022-09-13 19:24:22 +02:00
templates_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
workspace.go Improve corrupt workspace settings experience (#8393) 2021-11-11 14:58:39 -08:00