Add backported-* label on stable-* merges (#428) (#633)
* Add backported-* label on stable-* merges
runs on push to a stable-* branch,
takes the first line of the topmost commit message:
Original PR title (#original PR number) (#backport PR number)
extracts the first parenthesised PR number, as long as there are 2
and adds a backported-${branch number} label to the original PR
* backported-labels: use actions-ecosystem/action-add-labels@v1
* backported-labels: remove deubgging bits
(cherry picked from commit 2b61a8c00b6f8df6d3fa347f9017ef9cb49ca79a)
Co-authored-by: Martin Hradil <[email protected]>