[workflow] Don't fail workflow if we already have a PR for an issue
commit49ad577c0772be38f6691f93c7ac1b5dbb4dc9bf
authorTobias Hieta <tobias@hieta.se>
Fri, 27 May 2022 14:02:15 +0000 (27 16:02 +0200)
committerTobias Hieta <tobias@hieta.se>
Fri, 27 May 2022 14:02:39 +0000 (27 16:02 +0200)
treef371c435bdf9abf0aa9b7d6092e90a2489fdc405
parent3682e22ef404e1314ee1eab9daf6de99dc9ea8ee
[workflow] Don't fail workflow if we already have a PR for an issue

When running /cherry-pick several times you will get an
error when it tries to create a new PR since there already
is one.

This checks if we have PR first.

Fixes #54862

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D123657
llvm/utils/git/github-automation.py