Skip to content

Actions: Support CUE #34360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rawkode opened this issue May 4, 2025 · 1 comment
Open

Actions: Support CUE #34360

rawkode opened this issue May 4, 2025 · 1 comment
Labels
topic/gitea-actions related to the actions of Gitea type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@rawkode
Copy link

rawkode commented May 4, 2025

Feature Description

I'd love to be able to write my actions using CUE, rather than YAML.

I know that today I can do this provided I export my CUE to YAML before commit, but I'd like to see better support.

CUE currently has curated schemas for GitHub which would likely work, but I'd be happy to help maintain Gitea specific if that would help.

https://registry.cue.works/docs/cue.dev/x/githubactions

I appreciate that adding CUE support may be too opinionated when there's soon many configuration languages out there. So id like to hear your thoughts.

If adding CUE isn't an option, perhaps a more generic preprocessing configuration to support arbitrary languages could be supported; much like GitLab supports.

Screenshots

No response

@rawkode rawkode added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label May 4, 2025
@techknowlogick
Copy link
Member

As someone who also prefers non-YAML for actions (I use dhall in some non-Gitea repos) this would be neat. I suspect that the job parser would need to be the location where this change is applied

@kemzeb kemzeb added the topic/gitea-actions related to the actions of Gitea label May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/gitea-actions related to the actions of Gitea type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

3 participants