pulumi/.github/workflows
Justin Van Patten e68a6db43e
ci: Fix PR workflow errors (#15577)
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 #15445
2024-03-02 21:14:07 +00:00
..
ci-build-binaries.yml create CI job to upload dev artifacts to S3 (#14640) 2023-12-13 17:25:14 +00:00
ci-build-sdks.yml [ci] Install `setuptools` in virtual environment (#15220) 2024-01-23 22:46:13 +00:00
ci-dev-release.yml fix diff check for releasing dev SDKs (#15523) 2024-02-27 13:27:10 +00:00
ci-info.yml ci: Update post-release PR to align with release process 2022-10-18 22:45:59 -07:00
ci-lint.yml Update golangci-lint (#14624) 2023-11-21 15:16:13 +00:00
ci-prepare-release.yml create CI job to upload dev artifacts to S3 (#14640) 2023-12-13 17:25:14 +00:00
ci-run-test.yml Use pnpm as package manager if we find a pnpm-lock.yaml file (#15456) 2024-02-21 13:41:21 +00:00
ci-test-docs-generation.yml ci: Use the latest version of setup-dotnet (#15466) 2024-02-20 12:20:04 +00:00
ci.yml ci: Fix PR workflow errors (#15577) 2024-03-02 21:14:07 +00:00
command-dispatch.yml ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
cron-direct-build.yml Add simple Go test with GOPROXY=direct (#14818) 2023-12-12 08:38:29 +00:00
download-pulumi-cron.yml Fix Homebrew install test (#14082) 2023-10-02 18:42:58 +00:00
on-community-pr.yml ci: fix community contributor workflows 2022-09-21 17:39:15 -07:00
on-merge.yml Fix dev release versions (#15472) 2024-02-20 12:13:17 +00:00
on-pr-changelog.yml ci: fix community contributor workflows 2022-09-21 17:39:15 -07:00
on-pr-close.yml [ci] Add downstream codegen tests back (#14582) 2023-11-28 15:15:20 +00:00
on-pr-default.yml Move .version to /sdk and embed it (#15185) 2024-01-19 14:11:17 +00:00
on-pr.yml Revert "push post-release changelog and go.mod updates straight to master" (#15555) 2024-03-01 13:31:16 +00:00
on-release.yml Revert "push post-release changelog and go.mod updates straight to master" (#15555) 2024-03-01 13:31:16 +00:00
pr-test-acceptance-on-dispatch.yml set up secrets in acceptance test job (#15175) 2024-01-18 14:40:31 +00:00
pr-test-codegen-downstream.yml ci: Use the latest version of setup-dotnet (#15466) 2024-02-20 12:20:04 +00:00
pr-test-docs-gen-on-pr.yml ci: Clean up excess permissions, fix acceptance tests job 2022-09-15 17:48:16 -07:00
pr-test-docs-generation-on-dispatch.yml Replace deprecated command with environment file 2023-02-20 11:14:39 +09:00
rebase.yml ci/rebase: Run for members and owners 2023-02-19 18:18:06 -08:00
release-homebrew-tap.yml ci: Enable gh cli in every step of job 2022-10-04 23:23:43 -07:00
release-pr.yml ci: Fix post-release PR workflow to push the branch 2024-03-01 13:26:07 -08:00
release.pub ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
release.yml Revert "Temporary changes to unblock v3.108.1 release" (#15572) 2024-03-02 09:01:28 +00:00
sign.yml create CI job to upload dev artifacts to S3 (#14640) 2023-12-13 17:25:14 +00:00
trigger-homebrew-event.yml [ci] More fixes for the homebrew release job (#14482) 2023-11-03 02:15:57 +00:00
trigger-release-docs-event.yml Enable command dispatch workflow for dealing with PRs (#5851) 2020-12-07 19:29:04 +00:00