Updated on 2023-12-21 GMT+08:00

Obtaining an Access Token

When you select GitHub as the code source, use an access token for configuration.

GitHub Access Token

  1. Log in to GitHub and open the configuration page.

  2. Click Developer settings.

  3. Choose Personal access tokens > Generate new token.

  4. Verify the login account.

  5. Enter the token description, select permissions, select the private repository access permission, and click Generate token.

  6. Copy the generated token to CodeArts Build.

    • Save the token once it is generated. The token is invisible after you refresh the page. You can only generate a new token.
    • Enter a valid token description to prevent build failures caused by mis-deletion.
    • Delete the token when it is no longer used to prevent information leakage.