-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Add project workflow feature so users can define how to execute steps when project related events fired #30205
base: main
Are you sure you want to change the base?
Conversation
… when project related events fired
|
I would really like to see this merged, I am waiting for the ability to automatically set a project for a new issue via the issue template (#25028). GitHub provides this through an "org-name/BOARD_ID" syntax as announced here. I think having to set up an action for that (which would also require to set up a runner?) is quite cumbersome for such a simple feature. |
I do not know, but firing up multiple containers to just set a specific label or remove a label, or even re-open or close an issue as part of the workflow seems to be overkill to me, what do you think? |
What's the status here now? This is quite a wanted feature. |
Yes, this is a good reason to use the internal implementation rather than CI/CD. I will continue this work. |
Great, thx for your feedback. I am really looking forward to it. |
As far as I understand the description, this will depend on Workflows? |
No. This is project workflow which is different from Actions workflow. |
And what's better? Storing the workflows in the special YAML files on the default branch or storing them in the database? This is a block to prevent me from continuing the work. |
I would purpose to store them in the database. Branches are for code changes and depending stuff but this is a projekt management feature that is specific for gitea. i.e.: If you mirror your code to an other git system like github the projekt workflows are only garbage there. |
but storing in the db will require some form of UI to create/edit. |
For my defence I didn't know about the templates and the storage path. In that case I would agree to that argument. |
Thank you for working on this important feature. Many users, including myself, are eagerly anticipating the addition of project workflows to Gitea. This functionality would greatly enhance project management capabilities within the platform. |
@lunny is there a wiki page aka spec where the actions etc. are defined, that one can take on a specific workflow event / external event / transition / etc. |
Not exactly, but I’ll submit another PR to Gitea Docs to update it. |
Is there a timeline for this feature? The lack of automation in the project board is about the only (the other big thing is #23796 ) thing holding me off on recommending Gitea for my org as part of our JB Space Replacement Program |
It will be expected to be merged before the 1.24 release which should be on 4/30/2025 |
This PR supports repository workflow files under
.gitea/projects/
to response to projects related events and do some actions. For org project, maybe we can readorgname/.profile
repository.issues listed in project board need to be updated after them were moved #13498