-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[server] Fix GitLab testEmptyProject test #4865
Conversation
/werft no-preview
/auto-cc |
"isFile": false, | ||
"repository": { | ||
"host": "gitlab.com", | ||
"owner": "gp-test-group", | ||
"name": "gp-test-empty-project", | ||
"cloneUrl": "https://gitlab.com/gp-test-group/gp-test-empty-project.git", | ||
"private": false, | ||
"defaultBranch": null | ||
"defaultBranch": "main" |
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 is somehow independent, but I believe they broke the API if that's really true now for uninitialized repos. how can an empty repo has a branch?
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.
LGTM! Thanks for fixing!
LGTM label has been added. Git tree hash: 13cfc6a0958961fc93f2800a1eaf8c6510c8cb4c
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AlexTugarev, corneliusludmann 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 |
Fixes #4773
How to test:
api
,read_user
,read_repository
)cd components/server
export GITPOD_TEST_TOKEN_GITLAB='{"value": "YOUR-TOKEN"}'
yarn test