Description
Feature Description
Feature Request: As a Gitea Site Administrator I'd love to be able to universally enforce an Action on all repos that users can't edit/change.
Why it's useful: Opening up CI/CD to users comes with some risk for abuse (see this example of GitLab requiring valid credit cards to avoid crypto mining on their runners). Gitea is also perfectly aligned for folks who want to run niche SaaS products that might use the same tech / workflow across repos.
Similar (but different) features seen on GitHub:
GitHub Actions have Required Workflows that allow you to specify CI/CD operations that run across multiple repositories. See more details in their blog post. My understanding is this is similar to Reusable Workflows (related blog post) but differs slightly:
Required workflows can be stored in any repository folder and are not restricted to the .github/workflows folder like normal workflows. If a required workflow calls a reusable workflow, the reusable workflow must be stored in the .github/workflows folder.
For my particular use case, I wouldn't necessarily want to define the Action in another repo, I'd rather set it in the Site Administration settings or in a separate config file.
Screenshots
No response