Implement workflow_* webhook event #10498

Closed
opened 2025-11-02 09:09:29 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @notsodaredevil on GitHub (Mar 23, 2023).

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

Originally created by @notsodaredevil on GitHub (Mar 23, 2023). ### 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_
GiteaMirror added the topic/gitea-actionstype/proposaltype/feature labels 2025-11-02 09:09:29 -06:00
Author
Owner

@devthejo commented on GitHub (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 commented on GitHub (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 ;-)
Author
Owner

@devthejo commented on GitHub (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

@devthejo commented on GitHub (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
Author
Owner

@maxstanley commented on GitHub (Dec 6, 2023):

Related #23796

@maxstanley commented on GitHub (Dec 6, 2023): Related #23796
Author
Owner

@ChristopherHX commented on GitHub (Mar 21, 2025):

Update this is 50% done for 1.24

  • workflow_job done in #33694 - 1.24 nightly
  • workflow_run testing in #33964 - unknown under construction
@ChristopherHX commented on GitHub (Mar 21, 2025): Update this is 50% done for 1.24 - workflow_job done in #33694 - 1.24 nightly - workflow_run testing in #33964 - unknown under construction
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10498