<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/54862>54862</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            workflow: When running cherry-pick twice in an issue - the workflow will fail on creating a new pull request since it's already there.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            tstellar
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          tru
      </td>
    </tr>
</table>

<pre>
    See: 

https://github.com/llvm/llvm-project/issues/54487#issuecomment-1096143452
https://github.com/llvm/llvm-project/actions/runs/2153082832

We need to check if the PR is already there - if it's there it shouldn't be created. At least that's my theory. 

I could look into it if you don't have time @tstellar - but I don't have a good way to test this - do you have any setup for testing?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylUk2PmzAQ_TVwGQWBgSQcOKRarbS3qj3s2dgDeNfBqT3eiH_fMUnU5tpKlj_m482bNx6cXvufiFl9gqx8ycrTbZ-JLoGNmXjlNRma41Aod-aHtV-PY3fx7gMV8dOEEDHwpW2a4yET9WbgjDMutKvKbl81ddOKf4SXioxbEr6P2yGqti6P4liLv2m_IyyIGsiBmlF9ghmBZoTvP8AEkNaj1GuyeIRdchoGP4S7xRCE2UWrFzYSDAiKEwh1AScCizIQR8pbynnDcX4tnoR7A5UQwDrH1RcmwqhcaHURtLsBz_ILgcwZIWtKCoTWSs98hkjw9hwlYXJOw1WuqSfCjQG3suOwDfMWtawQkOIFRue3KLNMWf2a677WXd3JnAxZ7K_Of47WXdO032dcgMVcODSJ5f26uxiWjK5GsRYLo8I2RC6WNHwkw9VYC6M0FtxyUyhBSFb-CpfIPo-_YmIazJKQbno9iV_k0dv-fz7ZcS_yuR-FOra6rUpUw6EuKy3HZmy11KXCUXU6t3JAG_qs_ZYJkQhuEHzP2pfc9KIUomwqUe6FaPaFOMiK5dLdvlVdKTseD5650SLxKJyfct9vlIY4BXZaEyj8ccoQzMT_717uMdl7NRlpdr4nH_ONRL818RtLfyU0">