---
title: "Forgejo trigger event options"
description: "A guide to the options available for triggering Forgejo pipelines. Trigger pipelines on pushes, tags, and pull request events."
platform: "Cloud"
doc_version: "unversioned"
last_updated: "2026-12-03"
cloud_plans: "Free, Performance, Scale"
version_control: "Forgejo"
---

> For current CircleCI product defaults, deprecated patterns, and Cloud/Server differences, see [AGENTS.md](https://circleci.com/docs/AGENTS.md).
>
> For the complete documentation index and site structure, see [llms.txt](https://circleci.com/docs/llms.txt).

# Forgejo trigger event options Beta

**Cloud plans:** Free, Performance, Scale

**Version control:** Forgejo

When you create a trigger for a Forgejo pipeline, you choose which event triggers a pipeline run from a set of preset options.

The Forgejo integration is in beta. Forgejo is available for `circleci` type organizations only. For an overview of the integration, see the [Users, Organizations, and Integrations Guide](https://circleci.com/docs/guides/permissions-authentication/users-organizations-and-integrations-guide/#vcs-integration).

## Introduction

CircleCI projects have pipelines and triggers.

*   Pipelines define the various CI/CD 'units' of work that make up your project.
    
*   Triggers define when and how a pipeline run is triggered.
    

When you create a Forgejo project, CircleCI sets up your first pipeline and one Forgejo trigger. Forgejo sends events to CircleCI through the webhook you add when you connect your instance. For the project creation steps, see the [Create a Project](https://circleci.com/docs/guides/getting-started/create-project/#create-a-project) page.

Once your project exists, you can configure additional triggers under **Project settings**  **Project Setup**. See the [Set Up Triggers](https://circleci.com/docs/guides/orchestrate/set-up-triggers/) page for more information.

## Supported trigger options

Select a trigger event from the event dropdown. The following preset options are available:

*   **All pushes**: Trigger a pipeline run on all pushes to your repository. CircleCI selects this option by default.
    
*   **Tag pushes**: Trigger a pipeline run on pushes to tags only. When choosing this option, you also need to define tag filters in your config file. See [Executing Workflows for a Git Tag](https://circleci.com/docs/guides/orchestrate/workflows/#executing-workflows-for-a-git-tag).
    
*   **Pushes to default branch**: Trigger a pipeline run on pushes to the default branch only.
    
*   **PR opened or pushed to, default branch and tag pushes**: Trigger a pipeline run when a pull request is opened or reopened. Pushes to a branch with an open pull request, any tag, or the default branch also trigger a run.
    
*   **PR opened**: Trigger a pipeline run when a pull request is opened.
    
*   **Non-draft PR opened**: Trigger a pipeline run when a non-draft pull request is opened. Draft pull requests do not trigger a pipeline run.
    
*   **PR merged**: Trigger a pipeline run when a pull request is merged only.
    
*   **PR merged or closed**: Trigger a pipeline run when a pull request is merged or closed.
    
*   **PR marked ready for review**: Trigger a pipeline run when a pull request is taken out of draft mode and marked ready for review.
    
*   **Pushes to open non-draft PRs**: Trigger a pipeline run when there is a push to a branch with an open pull request that is not in draft mode.
    

## Other ways to trigger a Forgejo pipeline

As well as Forgejo events, you can trigger a Forgejo pipeline run using:

*   [Schedule Triggers](https://circleci.com/docs/guides/orchestrate/schedule-triggers/), to trigger a pipeline run on a schedule.
    
*   [Run a Pipeline From the CircleCI Web App](https://circleci.com/docs/guides/orchestrate/triggers-overview/#run-a-pipeline-from-the-circleci-web-app), to trigger a pipeline run manually.
    
*   [Trigger a Pipeline Using the API](https://circleci.com/docs/guides/orchestrate/triggers-overview/#run-a-pipeline-using-the-api), to trigger a pipeline run from a script or another service.
    
*   [Custom Webhooks](https://circleci.com/docs/guides/orchestrate/custom-webhooks/), to trigger a pipeline run from events sent by a third party.
    

For the full list of events that can trigger a pipeline run, see the [Trigger a Pipeline](https://circleci.com/docs/guides/orchestrate/triggers-overview/) page.

## Configuration files in Forgejo

A trigger starts a run of the pipeline defined by a config file in your repository. You set the config file path when you create your project. You can change the path later in **Project settings**  **Project Setup**. See the [Create a Project](https://circleci.com/docs/guides/getting-started/create-project/#create-a-project) page.

For guidance on creating a config file, see the following pages:

*   [Configuration Introduction](https://circleci.com/docs/guides/getting-started/config-intro/)
    
*   [Sample Config.yml Files](https://circleci.com/docs/guides/toolkit/sample-config/)
    
*   [Configuration Reference](https://circleci.com/docs/reference/configuration-reference/)
    

## See also

*   [Create a Project](https://circleci.com/docs/guides/getting-started/create-project/)
    
*   [Set Up Triggers](https://circleci.com/docs/guides/orchestrate/set-up-triggers/)
    
*   [Trigger a Pipeline](https://circleci.com/docs/guides/orchestrate/triggers-overview/)
    
*   [Users, Organizations, and Integrations Guide](https://circleci.com/docs/guides/permissions-authentication/users-organizations-and-integrations-guide/)