Skip to content

WORK_IN_PROGRESS_PREFIXES=Draft: still allows to merge "Draft" merge requests #19779

Closed
@certik

Description

@certik

Description

Steps to reproduce: Put this into custom/conf/app.ini:

[repository.pull-request]
WORK_IN_PROGRESS_PREFIXES=Draft:,[Draft],WIP:,[WIP]

Then create a new pull request, add Draft: at the beginning (for example by clicking the suggested link at the top that correctly shows use Draft: to prevent accidentally merging). It will create a pull request, that however can be merged as usual.

If you put WIP: at the beginning, it will not allow you to merge it.

Gitea Version

a9af93c

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.32.0

Operating System

macOS Monterey

How are you running Gitea?

I built it from source from git.

Database

SQLite

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