Inferring the upstream provider org from the go mod requirements is not as robust as once believed.
This pull request reads from provider/resources.go instead, looking for the value of GitHubOrg.
This change will unblock Stateless Provider Upgrades rollout, and it will additionally ensure that the fallback behavior for the "Get Expected Target / From Upstream Releases" works correctly for all providers.
Inferring the upstream provider org from the go mod requirements is not as robust as once believed. This pull request reads from provider/resources.go instead, looking for the value of
GitHubOrg
.This change will unblock Stateless Provider Upgrades rollout, and it will additionally ensure that the fallback behavior for the "Get Expected Target / From Upstream Releases" works correctly for all providers.
A successful run using this commit is here: https://github.com/pulumi/pulumi-gitlab/actions/runs/7201244400/job/19616931040 - it is broken using
upgrade-provider@main
.Fixes #213