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; the organization sends events from every repository
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.
How changes are merged
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_joband thepushsent by the test button - The release
updatedaction - Draft releases
- A queued run: the
requestedevent with statequeued,pending, orrequested. The change starts when the run starts.
Change content
Use labels 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. Flashduty records an event with the same state and time only 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?
… is missingorinvalid …: the payload is incomplete or a field is malformed. Confirm it comes from a native Gitea webhookunsupported …orunknown …: Flashduty does not support this run status yet. Contact us