Use this page if you have questions about how to find the information the optional Cloud Platform Pipelines command-line client requires from GitHub during the connection configuration process. The following steps are not required to connect through the user interface.
To control the connection between a GitHub repository and the pipelines client, the user running the pipelines github-connect or pipelines github-disconnect command must have the proper permissions for the GitHub repository.
Git repositories can be owned by a user or an organization:
pipelines github-connect or pipelines github-disconnect command must temporarily be the owner of the user account. After creating the personal access token, the GitHub user no longer needs the Owner role in GitHub. Therefore, you can revoke this role from the user without having an impact on the token.
For more information, see What are the different access permissions? in the GitHub help.
To use pipelines github-connect or pipelines github-disconnect, you must supply a GitHub personal access token. To retrieve your GitHub personal access token, complete the following steps:
Change the settings for your GitHub profile by clicking your profile image in the upper right, and then click Settings.
At the bottom of the left menu, in the Developer settings section, click the Personal access tokens link.
Cloud Platform).In the Select scopes section, select the repo checkbox.
Scroll to the bottom of the page, and then click Generate token.
The Personal access tokens page displays your new token, which is a string like 91a2b3c45d6f159ce524ac411e6d63b307e5ca93. Since you can’t display the token again in the GitHub interface, copy the token and save it in a secure place.
You can then paste the token into the appropriate Pipelines command.
After creating the personal access token, the GitHub user no longer needs the Owner role in GitHub. Therefore, you can revoke this role from the user without having an impact on the token.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Use this page if you have questions about how to find the information the optional Cloud Platform Pipelines command-line client requires from GitHub during the connection configuration process. The following steps are not required to connect through the user interface.
To control the connection between a GitHub repository and the pipelines client, the user running the pipelines github-connect or pipelines github-disconnect command must have the proper permissions for the GitHub repository.
Git repositories can be owned by a user or an organization:
pipelines github-connect or pipelines github-disconnect command must temporarily be the owner of the user account. After creating the personal access token, the GitHub user no longer needs the Owner role in GitHub. Therefore, you can revoke this role from the user without having an impact on the token.
For more information, see What are the different access permissions? in the GitHub help.
To use pipelines github-connect or pipelines github-disconnect, you must supply a GitHub personal access token. To retrieve your GitHub personal access token, complete the following steps:
Change the settings for your GitHub profile by clicking your profile image in the upper right, and then click Settings.
At the bottom of the left menu, in the Developer settings section, click the Personal access tokens link.
Cloud Platform).In the Select scopes section, select the repo checkbox.
Scroll to the bottom of the page, and then click Generate token.
The Personal access tokens page displays your new token, which is a string like 91a2b3c45d6f159ce524ac411e6d63b307e5ca93. Since you can’t display the token again in the GitHub interface, copy the token and save it in a secure place.
You can then paste the token into the appropriate Pipelines command.
After creating the personal access token, the GitHub user no longer needs the Owner role in GitHub. Therefore, you can revoke this role from the user without having an impact on the token.
If this content did not answer your questions, try searching or contacting our support team for further assistance.