Skip to content

Can not create merge commit when checks succeed #30658

Closed
@yp05327

Description

@yp05327

Description

image

reproduce:
user A: site admin
user B: normal user

  • user A: create an individual repo
  • user A: add user B as a contributor with write permission
  • user A: push some code to this repo with an action workflow
  • user A: add a branch rule to main with
    push whitelisted (only user B), required approvals: 1, enable status check
  • user B: create a new branch
  • user B: create PR
  • user B: push a commit to this new branch
  • wait until required jobs finished with success status
    updated: important, if jobs are in pending, you will not get any error
  • user B: click that blue button

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

build

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions