Skip to content

[Actions] Globally resolvable action names #24789

Closed
@silverwind

Description

@silverwind

Issue

Currently when using this on gitea.com:

- uses: actions/setup-python@v4

It will resolve to instance-specific URL https://gitea.com/actions/setup-python which I see very problematic because it makes action names ambigous across multiple gitea instances and github itself (where this will work).

Proposal

If the action URL is not absolute, assume a hardcoded https://github.com/ prefix, just like podman and docker assume a docker.io/ prefix on images not having a fully qualified name. This will ensure that action names are unambigously resolvable globally.

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