···2121 AppPassword string `env:"APP_PASSWORD"`
22222323 // uhhhh this is because knot1 is under icy's did
2424- TmpAltAppPassword string `env:"ALT_APP_PASSWORD, required"`
2424+ TmpAltAppPassword string `env:"ALT_APP_PASSWORD"`
2525}
26262727type OAuthConfig struct {
+4-4
knotserver/ingester.go
···9898 l := log.FromContext(ctx)
9999 l = l.With("handler", "processPull")
100100 l = l.With("did", did)
101101- l = l.With("target_repo", record.TargetRepo)
102102- l = l.With("target_branch", record.TargetBranch)
101101+ l = l.With("target_repo", record.Target.Repo)
102102+ l = l.With("target_branch", record.Target.Branch)
103103104104 if record.Source == nil {
105105 return fmt.Errorf("ignoring pull record: not a branch-based pull request")
···109109 return fmt.Errorf("ignoring pull record: fork based pull")
110110 }
111111112112- repoAt, err := syntax.ParseATURI(record.TargetRepo)
112112+ repoAt, err := syntax.ParseATURI(record.Target.Repo)
113113 if err != nil {
114114 return fmt.Errorf("failed to parse ATURI: %w", err)
115115 }
···178178 Action: "create",
179179 SourceBranch: record.Source.Branch,
180180 SourceSha: record.Source.Sha,
181181- TargetBranch: record.TargetBranch,
181181+ TargetBranch: record.Target.Branch,
182182 }
183183184184 compiler := workflow.Compiler{