workflow and ref labels to route or filter deployment runs in Flashduty.
This page covers Gitea. Forgejo names its Actions events differently and sends a different payload, so it is not supported; connect it through custom change events instead.
In Flashduty On-call
- In the Flashduty console, go to Integration Center → Change Events
- Select Gitea and enter an integration name
- To assign changes to specific channels, add rules under the integration’s Routes that match labels such as
repoorworkflow - Click Save and copy the generated Push URL
Configure Gitea
1
Open webhook settings
- Repository: go to the repository’s Settings → Webhooks and click Add Webhook → Gitea
- Organization: go to the organization’s Settings → Webhooks and click Add Webhook → Gitea; events from every repository in the organization are sent
2
Enter the Push URL
- Target URL: paste the complete Flashduty integration Push URL
- HTTP Method: select
POST - POST Content Type: select
application/json(application/x-www-form-urlencodedis also accepted) - Secret: leave empty; Flashduty authenticates with the
integration_keyin the Push URL
3
Select events
- Under Trigger On, select Custom Events…
- Check Workflow Run and Release and uncheck the others; do not check Workflow Jobs, which does not produce changes
- Leave Branch filter empty; it does not apply to workflow runs
- Keep Active checked and click Add Webhook
push event; Flashduty returns success and records no change.
What one change is
Status mapping
Done, Failed and Canceled are end statuses; Flashduty records the change’s end time.
These deliveries return success and record nothing: every other Gitea event type (including
workflow_job and the push sent by the test button), the release updated action, draft releases, and a queued run (the requested event with state queued, pending or requested; the change starts when the run starts).
Change content
Labels can be used for routing and for filtering the change list:
FAQ
Why did I not receive workflow changes?
Why did I not receive workflow changes?
- Make sure the webhook has Workflow Run checked and that your Gitea version offers that event
- Open the webhook page’s delivery history to see the request and Flashduty’s response
Does replaying a delivery in Gitea record it twice?
Does replaying a delivery in Gitea record it twice?
No. An event with the same state and time is recorded once.
Why did every workflow become a change?
Why did every workflow become a change?
Gitea cannot filter webhook events by workflow. The Branch filter does not apply to workflow runs either. Use the integration’s Routes to send deployment workflows to the right channel by the
workflow or ref label.The delivery returned an InvalidParameter error?
The delivery returned an InvalidParameter error?
unsupported action,unsupported workflow_run.statusorunsupported workflow_run.conclusion: a run state Flashduty does not support yet was received; please contact usworkflow_run.id is missingorrelease.id is missing: the payload is incomplete; make sure it comes from a native Gitea webhook