To connect your GitHub repository to Microsoft Fabric, follow these steps:
- Authorize Your GitHub Account: If it's your first time connecting, you need to authorize your GitHub user. Provide the following information:
- Display name: Must be unique for each GitHub user.
- Personal access token: This can be your classic or fine-grained personal access token from GitHub.
- Repository URL (optional): If you don't enter a URL, you can connect to any repo you have access to. If you enter a URL, you can only connect to that specific repository.
- Connect to a Workspace: Once you have authorized your GitHub account, you need to connect it to your Fabric workspace. Fill in the details about the workspace and branch you want to use:
- Repository URL: The URL of your GitHub repository.
- Branch name: The branch you want to connect to.
- Folder name: Specify the folder name where you want to sync your items (optional).
- Select Connect and sync to establish the connection.
- Verify Connection: After connecting, you can check the Source control section in your workspace for information about the linked branch, the status of each item, and when it last synced.
By following these steps, you can successfully connect your GitHub repository to Microsoft Fabric for CI/CD processes.
References: