Satyadeepak
Databricks Employee
Databricks Employee

To install dependencies from a private GitHub repository in a Databricks Asset Bundle, you need to set up the GitHub user and token in the resource.yml file and authenticate the GitHub package. Here are the steps:

  1. Generate a GitHub Personal Access Token:

    • Go to GitHub and navigate to Settings > Developer settings > Personal access tokens.
    • Click Generate new token.
    • Select the scopes you need (e.g., repo for full control of private repositories).
    • Click Generate token and copy the token.
  2. Set Up the GitHub User and Token in resource.yml:

    • In your resource.yml file, add the GitHub user and token as environment variables. For example:

      resources:
        jobs:
          my-job:
            name:

View solution in original post