pulumi/.github
Justin Van Patten e68a6db43e
ci: Fix PR workflow errors ()
I keep getting "PR run failed" email notifications even when all the
checks in a PR succeeds. It looks like this may be due to the following
two errors in the workflow:

![Screenshot 2024-02-15 at 4 16
23 PM](https://github.com/pulumi/pulumi/assets/710598/fc6aa0b1-348e-432f-95e2-41262e4f8afe)

It looks like we're getting these errors because
`ACCEPTANCE_TEST_MATRIX_WIN` and `ACCEPTANCE_TEST_MATRIX_MACOS` envvars
aren't being set for PRs.


3d45f4f5db/.github/workflows/ci.yml (L187-L188)


3d45f4f5db/.github/workflows/ci.yml (L204-L205)

Which end up feeding into here:


3d45f4f5db/.github/workflows/ci.yml (L362-L363)


3d45f4f5db/.github/workflows/ci.yml (L387-L389)

And the error happens because these are empty strings.

Instead, if we initialize these envvars as an empty JSON object string,
then they won't be empty. And it should allow these jobs to be skipped,
because of these `if` checks:


3d45f4f5db/.github/workflows/ci.yml (L360)


3d45f4f5db/.github/workflows/ci.yml (L385)

Fixes 
2024-03-02 21:14:07 +00:00
..
scripts Move .version to /sdk and embed it () 2024-01-19 14:11:17 +00:00
workflows ci: Fix PR workflow errors () 2024-03-02 21:14:07 +00:00
CODEOWNERS add CODEOWNERS file () 2024-02-16 11:31:23 +00:00
PULL_REQUEST_TEMPLATE.md Add routine checks to pull request template 2023-05-12 13:34:19 -07:00