Closing issues via commit on non-default branch #2857

Closed
opened 2025-11-02 04:51:40 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @s-hamann on GitHub (Feb 4, 2019).

  • Gitea version (or commit ref): 1.7.0

Description

While I do understand the reasoning behind #5622 this breaks out workflow here. We keep a stable default (master) branch and do the development on a dev branch. We close issues when they are fixed on the dev branch and use milestones to keep track of what needs to be done before the next release/merge to master.

I believe our development model is not so uncommon that #5622 would not affect a few other teams as well.
Could the auto-closing behaviour somehow be enabled for additional branches, not only for the default branch?

Originally created by @s-hamann on GitHub (Feb 4, 2019). - Gitea version (or commit ref): 1.7.0 ## Description While I do understand the reasoning behind #5622 this breaks out workflow here. We keep a stable default (master) branch and do the development on a dev branch. We close issues when they are fixed on the dev branch and use milestones to keep track of what needs to be done before the next release/merge to master. I believe our development model is not so uncommon that #5622 would not affect a few other teams as well. Could the auto-closing behaviour somehow be enabled for additional branches, not only for the default branch?
GiteaMirror added the type/enhancement label 2025-11-02 04:51:40 -06:00
Author
Owner

@lafriks commented on GitHub (Feb 4, 2019):

This should probably be added as an option to repository to allow change branch when issues are closed automatically

@lafriks commented on GitHub (Feb 4, 2019): This should probably be added as an option to repository to allow change branch when issues are closed automatically
Author
Owner

@lunny commented on GitHub (Feb 6, 2019):

I added a break label on #5622 and some one could send a pull request to add a config to enable closing issues via commit on non-default branch.

@lunny commented on GitHub (Feb 6, 2019): I added a break label on #5622 and some one could send a pull request to add a config to enable closing issues via commit on non-default branch.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2857