Saving a pull request without changes triggers PR modified event webhook

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 9.0.0
    • Affects Version/s: 8.10.0, 7.21.16, 8.15.1
    • Component/s: Webhooks
    • 2
    • Severity 3 - Minor
    • 1

      Issue Summary

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Create a webhook on a repository
        • Add the Pull request Modified event
      2. On the same repository, open an existing pull request and click on ... > Edit
      3. Without making any changes to the pull request, click on Save

      Expected Results

      The webhook should not be triggered to send the pr:modified event

      Actual Results

      The webhook sends the pr:modified event even if there were no changes made to the Pull request's title, description, or target branch.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Sunny Wu
            Reporter:
            Aedrian Escultura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: