Skip to content

Public visible repository even with REQUIRE_SIGNIN_VIEW set to true (e.g. for Gitea Actions) #28187

@TheMasterFX

Description

@TheMasterFX

Feature Description

It would be good if Gitea is able to have one or more repositories or organisations that could be accessed without login, even if REQUIRE_SIGNIN_VIEW is set to true. It does not necessarily have to be visible in the web interface, but at least clonable if the URL is known.

Background:
In our company we have regulations that prohibit making internally created code visible to unauthenticated employees (need to know). However, since we do not have a direct internet connection from our servers, and we still want to use Gitea actions that are hosted in the Gitea instance itself (e.g. https://ourgitea.example.com/actions/....). But if we want to use it now we have to work with secrets or deploy keys with absolute URLs for actions when we create a CI/CD workflow, which is very unfortunate for portability.
Maybe I'm just making a mistake in thinking or there are already other solutions for this use case. Maybe it is even the right approach to create a special "gitea" user with permissions to all repositories and to work with access tokens which are then entered in the DEFAULT_ACTIONS_URL.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/gitea-actionsrelated to the actions of Giteatype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions