# Required Auth on public repo

**URL:** <https://forum.gitea.com/t/required-auth-on-public-repo/10798>\
**Category:** Actions\
**Created:** [February 16, 2025, 1:51pm UTC](https://forum.gitea.com/t/required-auth-on-public-repo/10798 "2025-02-16T13:51:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![moj090](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@moj090](https://forum.gitea.com/u/moj090)\
**Post date:** [February 16, 2025, 1:51pm UTC](https://forum.gitea.com/t/required-auth-on-public-repo/10798/1 "2025-02-16T13:51:26Z")

</div>

Hello all,

I use Gitea 1.23.3 and I have an Action which shall pull a reusable workflow or “composite” action from an public repo hosted on the same Gitea Instance.

But the job fails in the first step because the runner cant clone the public repo. If I try to clone the repo from my pc or a new created vm without any ssh keys or something else installed on it, it works without authentication…  
When I loginto the runner container and run the git command I get prompted for username and passsword.

I also tried the fix of the topic down but the issue still persists ☹

> [@How to make repository public](https://forum.gitea.com/t/how-to-make-repository-public/675):
>
> I know how to make repositories visible to everyone, but how do I make public repositories clonable by users that aren’t registered on my server?

Has someone a similar setup which is working? I think that setup is not uncommon.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/1/194bb72e5f82361eb60f2df6eed663adab2ec2fe.png)

---

<div class="post-metadata">

**Author:** ![moj090](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@moj090](https://forum.gitea.com/u/moj090)\
**Post date:** [February 19, 2025, 8:15am UTC](https://forum.gitea.com/t/required-auth-on-public-repo/10798/2 "2025-02-19T08:15:40Z")

</div>

Hello all,

I moved the repo from my Organisation to my user and now it is working.

The Organisation is limited and the repo was public. Does the runner have no access to public repos in the same Organisation if the org is limited?

How can I reach that my repo with workflows can be hosted within my org and accessed by org / runner without authentication?
