Skip to content

Actionable References Not Triggering on Manually Merges #31743

Closed
@cyrilkong

Description

@cyrilkong

Description

Hi Gitea team,

I’ve encountered a bug with the actionable references feature. When a pull request is manually merged, the automatic closing behavior of referenced issues is not triggered as expected.

For example, I had a pull request with the description “This PR closes #909090”. After manually merging the pull request, issue #909090 was not automatically closed, and no notification was created on the issue as the documentation suggests should happen.

This behavior is inconsistent with the feature’s description, which states that issues should be closed if the merger of the pull request has the necessary permissions. I do have the permissions to close the issue, but the actionable reference did not take effect upon merging.

This bug affects the workflow for issue tracking and resolution, as it requires manual intervention to update the issue status after merging a PR. It could lead to inconsistencies in the issue tracking system and additional workload for the team.

Could you please look into this issue and advise on how it can be resolved? It’s an important feature for maintaining our issue tracking efficiency.

Thank you for your attention to this matter. Keep up the great work.

Gitea Version

1.23.0+dev-345-gecc8f2b047

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Attached on https://forum.gitea.com/t/actionable-references-not-triggering-on-manually-merges/9525

Git Version

No response

Operating System

No response

How are you running Gitea?

All actions could reproduce via demo.gitea.com

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions