Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Incorrect labeled event fired when label is Deleted from PR #34317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Sumit189 opened this issue Apr 29, 2025 · 0 comments
Open

Incorrect labeled event fired when label is Deleted from PR #34317

Sumit189 opened this issue Apr 29, 2025 · 0 comments
Labels

Comments

@Sumit189
Copy link
Contributor

Sumit189 commented Apr 29, 2025

Description

When a label is removed from a Pull Request (PR) in Gitea, the system triggers the labeled event, which is incorrect. The expected behavior is that the unlabeled event should be fired when a label is removed from a PR.

Steps to Reproduce:

  1. Open a PR in Gitea and add a label to it.
  2. Remove a label from the PR.
  3. Observe that the labeled event is triggered instead of the expected unlabeled event.

Expected Behavior:
The system should fire the unlabeled event when a label is removed from a PR.

Actual Behavior:
The system fires the labeled event when a label is removed from a PR.

Proposed Fix:
Ensure the correct unlabeled event is triggered when a label is removed from a PR.

Related PR:
👉 #34316

Gitea Version

v1.23.7

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Binary Image

Database

PostgreSQL

@Sumit189 Sumit189 changed the title Incorrect labeled event fired when label is removed from PR Incorrect labeled event fired when label is Deleted from PR Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant