Skip to content

[Actions] Workflows not triggered for PR assign and review #29166

Closed
@clinche

Description

@clinche

Description

I'm currently doing the setup of the CI/CD pipeline for our Gitea organization.
I'm writing two workflows that should be triggered by the following:

on:
  pull_request:
    types: [assigned, review_requested, labeled]

and

on:
  pull_request:
    types: [closed, unassigned, unlabeled, review_request_removed]

I didn't saw at the beginning that the review_requested* types are not supported by gitea, and this is okay.

However, the only events that currently trigger the workflow are labeled, unlabeled, and closed. From my understanding, assigned events should work but they trigger nothing.

What could be the causes? (and also, I probably should open another issue for this question but will review* types could be supported on workflows as they are handled by webhooks?)

I created a simple repo that can reproduce the issue here: the actions are launched for labeled and unlabeled but not for every other type trigger. EDIT: when the only label is removed, the called workflow is the one containing labeled, not unlabeled

Gitea Version

1.21.1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

I followed the docs on how to launch gitea using systemd, and the binary runs on bare-metal without any containerization

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions