Branches parameter is incorrect if cross-repository PR is created

Description

Steps to reproduce

  1. fork repository

  2. create new branch

  3. commit changes to that branch

  4. make PR to original repository

  5. enable web hook for forked repository

  6. add some new changes

  7. plugin will make request with branches parameter that includes only PR ref (and branch ref)

Example:

Expected behavior: PR is not required here - only original branch name

Environment

None

Assignee

Andrey Levchenko

Reporter

Andrey Levchenko

Labels

None

Github URL

None

Sprint

None

Priority

Lowest
Configure