Skip to content

MergePullRequest fails to trigger action #32335

Closed
@Fratee

Description

@Fratee

Description

When merging a pull request the related actions that should trigger on:

on:
  pull_request:
    types: [review_requested]

do not start and the gitea instance throws the following error:

[E] an error occurred while executing the MergePullRequest actions method: gitRepo.GetRefCommitID: object does not exist [id: 32e9eaa99d775bb8922a6ac354a2c9b3dcfe834b, rel_path: ]

This was working fine on 1.22.1

Gitea Version

1.22.2 and 1.22.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.46.0.windows.1

Operating System

Windows 10

How are you running Gitea?

Self hosted on Windows

Database

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions