[PR #5348] [MERGED] Removing Labels via EditPullRequest API #17761

Closed
opened 2025-11-02 15:34:18 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5348
Author: @lucienkerl
Created: 11/16/2018
Status: Merged
Merged: 12/1/2018
Merged by: @techknowlogick

Base: masterHead: master


📝 Commits (6)

  • 426ecf8 added the ability to provide an empty array at the EditPullRequests API to remove all labels
  • 5053db2 Merge branch 'master' into master
  • de978b4 Merge branch 'master' into master
  • f75cb80 Merge branch 'master' into master
  • 6aff536 Update pull.go
  • e9c4cdf Merge branch 'master' into master

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 routers/api/v1/repo/pull.go (+1 -1)

📄 Description

Because of a comment at the PR #5347 I recognized that it is currently not possible to remove labels.
This PR adds the ability to provide an empty labels array to remove all labels from a PR.


🔄 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/5348 **Author:** [@lucienkerl](https://github.com/lucienkerl) **Created:** 11/16/2018 **Status:** ✅ Merged **Merged:** 12/1/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`426ecf8`](https://github.com/go-gitea/gitea/commit/426ecf82587306e0279ea74848365d80c9512f6f) added the ability to provide an empty array at the EditPullRequests API to remove all labels - [`5053db2`](https://github.com/go-gitea/gitea/commit/5053db21cfe62078f3711506705e294bfbbed695) Merge branch 'master' into master - [`de978b4`](https://github.com/go-gitea/gitea/commit/de978b4907a82e3a2b68718635cf335db62685f3) Merge branch 'master' into master - [`f75cb80`](https://github.com/go-gitea/gitea/commit/f75cb80a6a68c2d827af3ce8a82da8bb64f3c811) Merge branch 'master' into master - [`6aff536`](https://github.com/go-gitea/gitea/commit/6aff5366960fb29c6b26f8c2b25a400e059ac427) Update pull.go - [`e9c4cdf`](https://github.com/go-gitea/gitea/commit/e9c4cdf831660526a79235a3056f52c0b766cd78) Merge branch 'master' into master ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `routers/api/v1/repo/pull.go` (+1 -1) </details> ### 📄 Description Because of a comment at the PR #5347 I recognized that it is currently not possible to remove labels. This PR adds the ability to provide an empty labels array to remove all labels from a PR. --- <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 15:34:18 -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#17761