Project

General

Profile

Only close issue by commit reference if it's the master branch

Added by Elvis Stansvik over 6 years ago

Under Administration -> Settings -> Repositories I've activated automatic closing of issue by e.g. "Closes #123".

But how do I make this trigger only on the master branch?

I obviously don't want the commits to trigger an issue close if they're pushed to a topic branch for review.

Thanks in advance.