forgejo/options
Gusted f779aa79f2
[BUG] Fix pull request reopen conditions
- Move the conditions code around, such that the existence of the head
and base is first checked (so a clear error can be given, instead of a
possible server error). This makes it easier to read this code. As the
logic is now grouped together.
- Adds integration testing that simulates the deletion of the base and
head branch and ensures the pull request cannot be opened. The 'normal'
testcase also 'informally' ensures that the previous incorrect condition
is not there, because the branch `base-branch` doesn't exist on the head
repository.
- Resolves #2321
2024-02-17 15:38:16 +01:00
..
gitignore Add Zig gitignore 2024-02-15 11:19:08 +00:00
label Add missing exclusive in advanced label options (#28322) 2024-01-22 07:56:17 +00:00
license [skip ci] Updated licenses and gitignores 2024-02-05 00:25:25 +00:00
locale [BUG] Fix pull request reopen conditions 2024-02-17 15:38:16 +01:00
readme Bindata is optional and over-writable on restart (#354) 2016-12-22 19:12:23 +01:00