merge_request: add work_in_progress to MR hooks
Merge request reports
Activity
@ben.boeckel Could you rebase?
Added 36 commits:
- 12c0099f...b6564195 - 35 commits from branch
gitlab-org:master
- 593bda37 - merge_request: add work_in_progress to MR hooks
- 12c0099f...b6564195 - 35 commits from branch
Added 37 commits:
- 593bda37...2c3355f9 - 36 commits from branch
gitlab-org:master
- f9e2c0e3 - merge_request: add work_in_progress to MR hooks
- 593bda37...2c3355f9 - 36 commits from branch
I think the model should change from:
def work_in_progress? title =~ /\A\[?WIP\]?:? /i end
To something like:
def work_in_progress? (title =~ /\A\[?WIP\]?:? /i) ? true : false end
or
def work_in_progress? !!(title =~ /\A\[?WIP\]?:? /i) end
Edited by Stan HuAdded 28 commits:
- f9e2c0e3...54452412 - 26 commits from branch
gitlab-org:master
- cf0315d7 - merge_request: coerce work_in_progress? into a boolean
- edba67d9 - merge_request: add work_in_progress to MR hooks
- f9e2c0e3...54452412 - 26 commits from branch
Please register or sign in to reply