"Terminal prompts disabled" error on public repository belonging to an internal Gitea organization


I run into the “fatal: could not read Username for ‘https://git.example.com’: terminal prompts disabled” error when trying to run jobs on a repository which is public, but belongs to an internal Gitea organization. I also enabled the private mode on Gitea.

Making the repository private fixes the issue, but I’d like to make the repository visible to all users logged in into Gitea, so that’s not a solution. Making the organization internal and disabling private mode isn’t a solution too, as I don’t want any repository to be visible without being logged in.

Would you have any idea on how to fix this ?

Thanks, cheers


See Fatal: could not read Username for

Thanks a lot, I overlooked that.