📹 Doderich
📹 Doderich12h ago

Git Sync with Github Organizations

Hi Windmill team, We’re evaluating Windmill Cloud and want to use Git Sync to develop scripts locally and later deploy via GitHub Actions. I’ve spent quite some time trying to connect a Git repository to our workspace, but I’m consistently hitting what looks like an authentication issue. Observed behavior • When adding the repo under Git Sync, I get the warning: Git sync resource checked via Windmill job WARNING: Only read permissions are verified. • No Job ID is returned, so I can’t inspect logs or see a failure trace. What I’ve tried • Authenticating via a GitHub App installed on the repository. • Authenticating with a GitHub Personal Access Token (PAT) embedded in the repo URL. • Followed the setup steps in your docs: • https://www.windmill.dev/docs/advanced/git_synchttps://www.windmill.dev/docs/advanced/local_development Request Could you help diagnose why the sync never produces a Job ID/logs and how to resolve the auth check so we can complete the initial Git Sync? Thanks a lot for your help!
Git sync | Windmill
From the workspace settings, you can set a gitrepository resource on which the workspace will automatically commit and push scripts, flows and apps to the repository on each deploy.
Local development | Windmill
Windmill has its own integrated development environment, but you can also develop and run scripts locally, both with self-hosted and cloud instances.
No description
13 Replies
rubenf
rubenf12h ago
@Alex could you take a look pl
rubenf
rubenf12h ago
this is what you should have normally (tested just now)
fjørdlek
fjørdlek12h ago
@📹 Doderich can you go to the "Runs" page and change the filter to "all" and find the job that tested the github connection and share the logs of that failed job?
📹 Doderich
📹 DoderichOP12h ago
📹 Doderich
📹 DoderichOP12h ago
No description
fjørdlek
fjørdlek11h ago
oh thanks for the video! super helpful, the job is not even triggered in the first place otherwise you'd see a job id when clicking the test connection button
No description
fjørdlek
fjørdlek11h ago
can you check the browser console for errors?
📹 Doderich
📹 DoderichOP11h ago
Ah now i can see where the problem is.
POST https://app.windmill.dev/api/w/montamo-dev/jobs/run/p/hub/19799/git-repo-test-read-write-windmill?skip_preprocessor=true 400 (Bad Request)
POST https://app.windmill.dev/api/w/montamo-dev/jobs/run/p/hub/19799/git-repo-test-read-write-windmill?skip_preprocessor=true 400 (Bad Request)
Quota exceeded: User it@montamo.com has exceeded the free usage limit of 1000 that applies outside of premium workspaces. I guess we already exeded the limit of runs this month. It would be helpfull tho if there is an error message to the user in that case Thank you for your help
fjørdlek
fjørdlek11h ago
Yeah, I'll make sure to bubble up that error in that context! thanks for the report
📹 Doderich
📹 DoderichOP11h ago
Hey in a different workspace we had enough runs to sync a git repo but now there is this error. Is there a way to fix it?
No description
📹 Doderich
📹 DoderichOP11h ago
Here are the logs for the job run
rubenf
rubenf11h ago
@📹 Doderich you can see what command failed, you can try to reproduce all the commands with your PAT and investigate why it didn't work
📹 Doderich
📹 DoderichOP10h ago
Ok i got it working although it didnt work with the steps in the documentation or the video in the Documentation I had to do a intial commit to the main branch. But now it works, thank you 🙏
No description

Did you find this page helpful?