Updated on 2025-03-27 GMT+08:00

Importing a GitHub Repository

  1. Go to the CodeArts Repo homepage, click New Repository, and select an existing project from the Project drop-down list box or create a project.
  2. Set the repo type to Imported.

Service Endpoint Authorization

Table 1 Service endpoint authorization

Parameter

Description

Service Endpoint Name

Mandatory. Enter a name with a maximum of 256 characters.

Authentication Mode

Mandatory. Select a value as required.

  • If you select OAuth, click Authorize and OK, and the GitHub login page is displayed. Enter the GitHub login account and password, and click Authorize huaweidevcloud to complete the authorization. After the authorization is successful, Authorized successfully is displayed on the endpoint creation page, and Service endpoint created successfully. is displayed in the upper right corner. You can select the created endpoint from the drop-down list box.
  • If you select By personal access token, use an account with the repo administrator permissions to create an access token on GitHub. For details, see Obtaining an Access Token.