Hey, guys.
I have a question, so, I have databricks jobs in workflow that are linked to my databricks repo, which contains the necessary scripts for one or another job. That is, the job is linked to the databricks repo.
The main code is developed in github and at the moment of release github action is triggered and pushed the code to databricks repo by means of rest api (according to your docs). But in order to push code in databricks repo it turns out that github integration is needed, which is strange. I'm not going to create webhooks or so on and I just need to push code from github to databricks repo, but it doesn't work and I get this error message
'{"error_code": "PERMISSION_DENIED", "message": "Missing Git provider credentials. Go to User Settings > Git Integration to set up your Git credentials."}'
So, how can I push code from github to databricks repo without git integration and just using databricks token?
Use POST /api/2.0/repos and PATCH /api/2.0/repos/{repo_id} for creation and updation -> https://docs.databricks.com/api/workspace/repos/update
Thanks,
Best.