[PR #5622] [MERGED] Don't close issues via commits on non-default branch. #17874

Closed
opened 2025-11-02 16:22:48 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5622
Author: @HarshitOnGitHub
Created: 1/2/2019
Status: Merged
Merged: 1/4/2019
Merged by: @lafriks

Base: masterHead: Issue_2314


📝 Commits (2)

  • 1d65f8c issue: Don't close issues via commits on non-default branch.
  • 8660b18 refactor: Extract changeIssueStatus() function.

📊 Changes

2 files changed (+63 additions, -40 deletions)

View changed files

📝 models/action.go (+35 -39)
📝 models/action_test.go (+28 -1)

📄 Description

This PR includes a bug fix as well as a small refactor.

Fixes: #2314.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/5622 **Author:** [@HarshitOnGitHub](https://github.com/HarshitOnGitHub) **Created:** 1/2/2019 **Status:** ✅ Merged **Merged:** 1/4/2019 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `Issue_2314` --- ### 📝 Commits (2) - [`1d65f8c`](https://github.com/go-gitea/gitea/commit/1d65f8cad52b0d5d63aeb9051336c3b3b3d6b536) issue: Don't close issues via commits on non-default branch. - [`8660b18`](https://github.com/go-gitea/gitea/commit/8660b18901b0a2e23b4f158ffc0879f6868e60e9) refactor: Extract `changeIssueStatus()` function. ### 📊 Changes **2 files changed** (+63 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `models/action.go` (+35 -39) 📝 `models/action_test.go` (+28 -1) </details> ### 📄 Description This PR includes a bug fix as well as a small refactor. Fixes: #2314. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 16:22:48 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17874