Skip to content
Gitea

How to use Gitea

DevelopersCost: 1 credit per runTechnical reference

What it is for

Self-hosted Git service

Gitea triggers react instantly to events in the app.

Set up the connection

Authentication type: OAuth 2.0 (sign in with your account)

  1. 1Add a Gitea step and click "Connect".
  2. 2Sign in with your Gitea account in the window that opens.
  3. 3Review and accept the permissions flooows requests (only those the actions need).
  4. 4Give the connection a recognizable name so your team can reuse it.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Create Issue: fill in Repository, Title; use the data selector to map values from earlier steps.
  • Add Comment to Issue/PR: fill in Repository, Issue/PR Index, Comment Body; use the data selector to map values from earlier steps.
  • Update Repository: fill in Repository; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Triggers (4)

Events that can start a flow. Expand each one to see its fields.

New CommitWebhook (paste the URL in the app)2 fields
FieldTypeRequired
RepositoryList (from your account)Yes
BranchList (from your account)No
New IssueWebhook (paste the URL in the app)1 fields
FieldTypeRequired
RepositoryList (from your account)Yes
New Pull RequestWebhook (paste the URL in the app)1 fields
FieldTypeRequired
RepositoryList (from your account)Yes
Workflow Run CompletedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
RepositoryList (from your account)Yes

Actions (4)

Operations available as flow steps. Expand each one to see its fields.

Create Issue3 fields
FieldTypeRequired
RepositoryList (from your account)Yes
TitleTextYes
BodyLong textNo
Add Comment to Issue/PR3 fields
FieldTypeRequired
RepositoryList (from your account)Yes
Issue/PR IndexNumberYes
Comment BodyLong textYes
Update Repository5 fields
FieldTypeRequired
RepositoryList (from your account)Yes
NameTextNo
DescriptionTextNo
PrivateYes / NoNo
WebsiteTextNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps