Skip to content

Adding usethis::use_forgejo_action support for Codeberg / Forgejo Actions #2200

@dgkf

Description

@dgkf

This is a bit of a follow-up to #2102

For some background, Codeberg is a recent popular GitHub alternative and runs on a backend called Forgejo and they have their own Actions tooling that can accommodate most GitHub Actions. In the future, there might be other "forges" that spin up using Forgejo, and their goal is to have a less centralized coding ecosystem.

Supporting Forgejo Actions is quite similar to supporting GitHub Actions. In fact, Codeberg (Forgejo) can almost use r-lib/actions out of the box. I kicked off a repo to make the necessary edits over in codeberg.org/r-codeberg/r-lib-actions.

Would there be interest in setting up usethis::use_forgejo_action (+maybe usethis::use_codeberg_action aliases) as alternatives to usethis::use_github_action? The repo structure is a direct mirror of r-lib/action so it should be as simple as swapping out the repository url where the yaml file is fetched from. In the future we may have some additional example workflows that better align with Codeberg's more resourceful approach to runners, but for now it's one-to-one.

Just wanted to gauge interest before I put in the time to make the changes and open a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions