Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7458

Closed
Open
Created Aug 08, 2014 by Administrator@rootOwner

merge request event sending all the time

Created by: djdevin

I have a post-merge request hook set up in Gitlab that responds to merge request actions. Once a request has been merged I get the notification correctly, however every time you view the merge request after that, you get another notification.

There's no way to determine if the request was merged that instant or if it's just notifying me of something.

Basically I keep getting this data pushed to the web hook, over and over

stdClass Object
(
    [object_kind] => merge_request
    [object_attributes] => stdClass Object
        (
            [id] => 127
            [target_branch] => release/7.4.0
            [source_branch] => feature/mantis-20158-updating-max-children-js
            [source_project_id] => 28
            [author_id] => 5
            [assignee_id] => 3
            [title] => Feature/mantis 20158 updating max children js
            [created_at] => 2014-08-01 19:03:17 UTC
            [updated_at] => 2014-08-08 16:59:53 UTC
            [milestone_id] => 1
            [state] => merged
            [merge_status] => can_be_merged
            [target_project_id] => 28
            [iid] => 110
            [description] => 
            [position] => 0
        )

)
stdClass Object
(
    [object_kind] => merge_request
    [object_attributes] => stdClass Object
        (
            [id] => 127
            [target_branch] => release/7.4.0
            [source_branch] => feature/mantis-20158-updating-max-children-js
            [source_project_id] => 28
            [author_id] => 5
            [assignee_id] => 
            [title] => Feature/mantis 20158 updating max children js
            [created_at] => 2014-08-01 19:03:17 UTC
            [updated_at] => 2014-08-08 16:58:35 UTC
            [milestone_id] => 1
            [state] => merged
            [merge_status] => can_be_merged
            [target_project_id] => 28
            [iid] => 110
            [description] => 
            [position] => 0
        )

)
Assignee
Assign to
Time tracking