mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
* feat: Add organizations endpoint for users This moves the /user endpoint to /users/me instead. This will reduce code duplication. This adds /users/<name>/organizations to list organizations a user has access to. It doesn't contain the permissions a user has over the organizations, but that will come in a future contribution. * Fix requested changes * Fix tests * Fix timeout * Add test for UserOrgs * Add test for userparam getting * Add test for NoUser
30 lines
698 B
YAML
30 lines
698 B
YAML
codecov:
|
|
require_ci_to_pass: false
|
|
|
|
comment:
|
|
show_carryforward_flags: yes
|
|
|
|
coverage:
|
|
notify:
|
|
slack:
|
|
default:
|
|
url: secret:v1::ALa1/e2X+k36fPseab5D7+kBFc9bJyIoIQioD0IMA5jr+0HXVpBRNDCHZhHjCdGc67yff6PPixPEOLwEZpxC37rM23RBZOYlqAq9A5e0MeZVlEoVq19aOYN4Xel17hMJ6GGm7n17wrYpCpcvlVSqNrN0+cr3guVDyG10kQyfh2Y=
|
|
threshold: 1%
|
|
only_pulls: false
|
|
branches:
|
|
- "main"
|
|
status:
|
|
project:
|
|
default:
|
|
target: 75%
|
|
informational: yes
|
|
|
|
ignore:
|
|
# This is generated code.
|
|
- database/models.go
|
|
- database/query.sql.go
|
|
# All coderd tests fail if this doesn't work.
|
|
- database/databasefake
|
|
- peerbroker/proto
|
|
- provisionersdk/proto
|