Skip to content
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

Feature Request: Actions: Support externally defined configuration files #24454

Open
kbingham opened this issue Apr 30, 2023 · 4 comments
Open
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

@kbingham
Copy link

Splitting out from the now closed #13539

Yup now I've been exploring more, I can see a separated repo for the workflows could be a very helpful way of doing this too. Then multiple repos (mirrors, forks, or separate repos for separate developers) can point to common workflow actions.

FWIW - Today I discovered gitlab can do this and it's all documented here:

Originally posted by @kbingham in #13539 (comment)

@silverwind silverwind added 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. labels Apr 30, 2023
@wolfogre
Copy link
Member

wolfogre commented May 4, 2023

I think reusing workflows can do the same thing.

BTW, act runner supports reusing workflows, but there are some bugs in some cases.

@kbingham
Copy link
Author

kbingham commented May 4, 2023

The problem I can see with reusable workflows is : https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow

The use case here means I can not add any specific CI files to the repository itself which is to be compiled. Specifically this is to support building libcamera and the linux kernel.

I can't merge my CI files into the linux kernel, and I'm not allowed to merge my CI files into libcamera.

@Hypnotist1148
Copy link

Hypnotist1148 commented Oct 4, 2023

Agree, being able to select common/shared configuration in the existing actions setting for a repository or even a whole organization would be a huge plus, especially for mirrors or for environments where Organizations and Repositories are managed by automated systems.
Or even just small teams.

@sthomen
Copy link

sthomen commented Jun 5, 2024

I for one would very much prefer to not have to have configuration of the server leak into my code repositories.

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

5 participants