Skip to content
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

fix: Duplicate ref for mrs #4

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

fix: Duplicate ref for mrs #4

wants to merge 4 commits into from

Conversation

xNok
Copy link

@xNok xNok commented Jul 16, 2024

The webhook handler processJobEvent does not consider the case where the ref is a merge request pipeline or merge train.

So multiple refs are being created, one by the processPipelineEvent and the other by `processJobEvent

for instance, for a same MR we can have all three refs below:

380
/refs/merge-requests/380/head
/refs/merge-requests/380/train

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant