Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-2861

Pre-receive hooks don't run when merging a pull-request

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Answered
    • Icon: Medium Medium
    • None
    • 1.3.1
    • Pull Requests
    • None

      In an attempt to limit write access to master branch, I added a pre-receive hook into my server side repo. This works fine for pushes being done from Git command line.

      However, when someone opens a PR for master branch and merges them, the pre-receive hook is not run, thus granting write-access to all.

            Unassigned Unassigned
            2d7653fc3ead Harshad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: