Skip to content
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 support for gitlab mirror #143

Open
Yikun opened this issue Jan 28, 2022 · 0 comments
Open

Add support for gitlab mirror #143

Yikun opened this issue Jan 28, 2022 · 0 comments
Labels
feature New feature or request

Comments

@Yikun
Copy link
Owner

Yikun commented Jan 28, 2022

User:
repo list: https://gitlab.com/api/v4/users/yikunkero/projects
create repo: curl --header "PRIVATE-TOKEN: $token" -XPOST "https://gitlab.com/api/v4/projects?name=repo_name&visibility=public"

Group:
repo list: https://gitlab.com/api/v4/groups/hub-mirror-action/projects

create repo:
curl --header "PRIVATE-TOKEN: $token" "https://gitlab.com/api/v4/namespaces/hub-mirror-action" | jq .id

curl --header "PRIVATE-TOKEN: $token" -X POST "https://gitlab.com/api/v4/projects?name=test4&namespace_id=$id&visibility=public"

@Yikun Yikun added the feature New feature or request label Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant