Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…oodpecker-ci#2106) Backport woodpecker-ci#2104 For "woodpecker-ci" the `name` is "Woodpecker CI" and the `login` is "woodpecker-ci" Fixes woodpecker-ci#2092 This was causing the organization lookup to fail, because it looks up using the `login`, when it did not find the organization, it would try to create it. The creation would fail, because it uses the `name`, and an organization with that `name` already exists. Resulting in: ``` pq: duplicate key value violates unique constraint "UQE_orgs_name" ``` Co-authored-by: runephilosof-karnovgroup <101270124+runephilosof-karnovgroup@users.noreply.github.com>
- Loading branch information