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

Implement workflow_* webhook event #23670

Open
notsodaredevil opened this issue Mar 23, 2023 · 3 comments
Open

Implement workflow_* webhook event #23670

notsodaredevil opened this issue Mar 23, 2023 · 3 comments
Labels
topic/gitea-actions related to the actions of Gitea type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@notsodaredevil
Copy link

Feature Description

Hi,
As DevOps I want to have ability to do some actions when workflow run/job is scheduled or completed. For this specific event types for webhooks are required
Example use case is to bring Act runner up on scheduling new workflow and shutdown runner on workflow completion

GitHub implementation:
Webhooks: https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job
Autoscaling with self hosted runner: https://docs.github.com/en/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners

Thanks for great product!

Screenshots

No response

@notsodaredevil notsodaredevil added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Mar 23, 2023
@wolfogre wolfogre added the topic/gitea-actions related to the actions of Gitea label Mar 24, 2023
@devthejo
Copy link

devthejo commented Dec 2, 2023

If you make this feature available, I'll be happy to quickly develop a lightweight kubernetes controller that can do autoscaling on customizable runner based on theses events and share this open-source tool with the community ;-)

@devthejo
Copy link

devthejo commented Dec 2, 2023

just developed a little controller (as a workaround) using information on runner from database, did it to use with forgejo but it should work for gitea too:
https://codeberg.org/devthefuture/forgejo-runner-autoscaler

@maxstanley
Copy link

Related #23796

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/feature Completely new functionality. Can only be merged if feature freeze is not active. 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

4 participants