[PR #2560] [MERGED] Fix can_push value to false in protected_branch #16468

Closed
opened 2025-11-02 12:11:21 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2560
Author: @lafriks
Created: 9/20/2017
Status: Merged
Merged: 9/20/2017
Merged by: @lafriks

Base: masterHead: fix_protected_branch_can_push


📝 Commits (2)

  • 1b46f9e Fix can_push value to false in protected_branch
  • 0ead9e5 Merge branch 'master' into fix_protected_branch_can_push

📊 Changes

3 files changed (+21 additions, -0 deletions)

View changed files

📝 models/branches.go (+1 -0)
📝 models/migrations/migrations.go (+2 -0)
models/migrations/v43.go (+18 -0)

📄 Description

Needed for #2556 and for future option to be able to specify that branch can be pushed to always but are protected only from deletion


🔄 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/2560 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 9/20/2017 **Status:** ✅ Merged **Merged:** 9/20/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `fix_protected_branch_can_push` --- ### 📝 Commits (2) - [`1b46f9e`](https://github.com/go-gitea/gitea/commit/1b46f9e2a5c6eb62e709fb0352eef71b87d6d458) Fix can_push value to false in protected_branch - [`0ead9e5`](https://github.com/go-gitea/gitea/commit/0ead9e50d3cb118676387021fb9277b0fa8acacd) Merge branch 'master' into fix_protected_branch_can_push ### 📊 Changes **3 files changed** (+21 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `models/branches.go` (+1 -0) 📝 `models/migrations/migrations.go` (+2 -0) ➕ `models/migrations/v43.go` (+18 -0) </details> ### 📄 Description Needed for #2556 and for future option to be able to specify that branch can be pushed to always but are protected only from deletion --- <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 12:11:21 -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#16468