docs: update GitHub integration documentation for Personal Access Token setup

This commit is contained in:
Piyush Gupta
2025-10-25 02:22:26 +05:30
parent 2a78d1267c
commit 248bc97e42
+4 -5
View File
@@ -181,8 +181,7 @@ Infisical supports three methods for connecting to GitHub.
<Tab title="Personal Access Token"> <Tab title="Personal Access Token">
Infisical will use a Personal Access Token to connect to GitHub. Infisical will use a Personal Access Token to connect to GitHub.
<Accordion title="Self-Hosted Instance"> ## Create a Personal Access Token
Using the GitHub integration on a self-hosted instance of Infisical requires creating a Personal Access Token in GitHub.
<Steps> <Steps>
<Step title="Create a Personal Access Token in GitHub"> <Step title="Create a Personal Access Token in GitHub">
Navigate to your user Settings > Developer settings > Personal Access Tokens to create a new Personal Access Token. Navigate to your user Settings > Developer settings > Personal Access Tokens to create a new Personal Access Token.
@@ -199,8 +198,9 @@ Infisical supports three methods for connecting to GitHub.
- **Repository access:** Select the repositories you want to grant access to - **Repository access:** Select the repositories you want to grant access to
- Select `All repositories` or `Only selected repositories` to be able to manage the secrets in the selected repositories. - Select `All repositories` or `Only selected repositories` to be able to manage the secrets in the selected repositories.
- **Select scopes:** Add the following scopes: - **Select scopes:** Add the following scopes:
- Metadata: Read-only - **Metadata**: Read-only
- Environments: Read and write - **Environments**: Read and write
- **Secrets**: Read and write
![Personal Access Token Form](/images/app-connections/github/create-pat-form.png) ![Personal Access Token Form](/images/app-connections/github/create-pat-form.png)
@@ -216,7 +216,6 @@ Infisical supports three methods for connecting to GitHub.
</Warning> </Warning>
</Step> </Step>
</Steps> </Steps>
</Accordion>
## Setup GitHub Connection in Infisical ## Setup GitHub Connection in Infisical