has anyone encountered this issue with `auto.GitRe...
# automation-api
has anyone encountered this issue with
Copy code
failed to create stack: failed to create workspace, unable to enlist in git repo: unable to checkout branch: reference not found
using a PAT. Config is straight from example and looks like this:
Copy code
auth := &auto.GitAuth{
		PersonalAccessToken: cfg.AuthToken,

	repo := auto.GitRepo{
		Auth:   auth,
		URL:    cfg.Repo,
		Branch: cfg.Branch,

	ctx := context.Background()
	s, err := auto.NewStackRemoteSource(ctx, "dev", repo)
If I don’t specify branch then it works…
At present, if you supply a branch, it must be in the form
. It’s a bit of a quirk 🤨 , see https://github.com/pulumi/pulumi-kubernetes-operator/issues/103
🙏 1
(NB the last comment there)