Skip to content

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/batch-changes/configuring-credentials.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ GitHub apps follow the same concepts as [personal and global access tokens](#typ
201201
- GitHub apps can only be used with GitHub code hosts.
202202
- The forking mechanism (`fork:true`) is only supported if the GitHub app has access to all repositories of the installation, and if the origin repository and the fork are in the same organization that the GitHub app is installed to ([GitHub Docs](https://docs.github.com/en/rest/repos/forks?apiVersion=2022-11-28#create-a-fork)).
203203

204+
### Migrating from PATs to GitHub Apps
205+
206+
You can migrate your credentials from PATs to GitHub Apps by deleting the PAT credential and creating a GitHub app credential.
207+
208+
Batch Changes will look at the available credentials, and pick one that matches the targeted namespace (e.g. organization).
209+
210+
You can continue to use existing batch changes without modifications.
211+
204212
### Adding a GitHub app
205213

206214
Adding a GitHub app is done through the Batch Changes section of your user settings:

0 commit comments

Comments
 (0)