Skip to content

User can add more commits to PR after gaining approval #8439

Closed
@browcio

Description

@browcio

Description

We observe that user can add more commits to existing approved PR. After that PR remains approved and can be merged despite new commits not being reviewed.

Steps to reproduce:

  1. fork repo
  2. commit to fork
  3. create PR
  4. get your PR approved
  5. add more commits to fork
  6. merge

This way only first commit was reviewed but all commits can be merged. I suspect that gitea should at least inform that some commits were not reviewed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/duplicateThe issue has already been reported.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions