-
Notifications
You must be signed in to change notification settings - Fork 168
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
feat(api): add api to support list Dockerfiles in the repo #637
Conversation
/hold |
/hold cancel |
/retest |
/cc @cd1989 @supereagle |
pkg/scm/provider/github/github.go
Outdated
if strings.Contains(repo, "/") { | ||
parts := strings.Split(repo, "/") | ||
if len(parts) != 2 { | ||
err := fmt.Errorf("repo %s is not correct, only supports one left slash", repo) |
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.
This msg is not correct for all cases, such like a/b/c
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cd1989 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Add API to support list Dockerfiles in the repo.
Implemented:
Not Implemented:
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #
Special notes for your reviewer:
/cc @supereagle @cd1989
Release note: