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

XMLWordPrintable

    • Type: Bug
    • Resolution: Answered
    • Priority: Medium
    • None
    • Affects Version/s: 1.3.1
    • Component/s: 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.

            Assignee:
            Unassigned
            Reporter:
            Harshad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: