Skip to content

Actions using wrong URL for Repositories #26721

Open
@OdinVex

Description

@OdinVex

Description

I host my Gitea instance on a subdir of a domain, such as https://example.com/Gitea/ and I've noticed that Actions isn't giving the correct path to the Runner (or jobs?). Gitea Actions Demo was a perfect test and it revealed that it's passing the wrong URL for the repository:

Explore-Gitea-Actions (demo.yaml) relevant line:

remote add origin https://example.com/USER/REPO

It should be https://example.com/Gitea/USER/REPO in my case. It's broken the ability of git to get the repo into the job.

Gitea Version

1.20.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.39.2

Operating System

Docker Gitea & Gitea Actions

How are you running Gitea?

Multiple ways, but primary test instance is self-hosted via Docker on a reverse-proxy.

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/gitea-actionsrelated to the actions of Giteatype/bugtype/upstreamThis is an issue in one of Gitea's dependencies and should be reported there

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions