-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add createRepo public endpoint #59
Conversation
riya-n
commented
Jun 3, 2024
•
edited
Loading
edited
- this should create a trunk repo for orgs that don't already have them
- calls the createRepo public endpoint: https://github.com/trunk-io/trunk/pull/14243
- tested upload on a test repo and seems to work fine
- TODO: wait for endpoint to be on prod, then merge this and update cli version on uploader
Is this endpoint available on prod yet? |
💊 0 quarantined ✅ 10 passed 🕐 10 new ⋅ (learn more) |
@@ -56,6 +65,12 @@ pub struct QuarantineBulkTestStatus { | |||
pub quarantine_results: Vec<QuarantineResult>, | |||
} | |||
|
|||
#[derive(Debug, Serialize, Clone, Deserialize)] | |||
pub struct TrunkRepo { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we aren't using response object, maybe we can have empty schema for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we aren't using it, but we could leave this as a sanity check that the repoId exists in the response