Skip to content

auto merge ignores failing checks #39214

Description

@schlamar

Gitea Version

1.27.3

What happened?

Gitea merged a scheduled Pull Request although required checks failed.

Branch Protection configuration is "Enable Status Check" set with pattern * and "Block merge if pull request is outdated" set.

Steps:

  • commit status from PR was pending / yellow
  • scheduled pull request to auto merge
  • commit status got green, however merge was blocked because of outdated
  • updated branch by rebase from Pull Request
  • commit status from rebase is red
  • Gitea merged the Pull Request

I assume that Gitea checked the status of the old commit before merging and not the current one after rebase.

How are you running Gitea?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions