ci: add kind/backport label for backport issues

Signed-off-by: Yang Chiu <yang.chiu@suse.com>
This commit is contained in:
Yang Chiu 2022-09-20 08:51:48 +08:00 committed by David Ko
parent bfe44afdf8
commit 1e55e457c3

View File

@ -35,6 +35,7 @@ jobs:
id: labels
run: |
RAW_LABELS="${{ join(github.event.issue.labels.*.name, ' ') }}"
RAW_LABELS="${RAW_LABELS} kind/backport"
echo "RAW LABELS: $RAW_LABELS"
LABELS=$(echo "$RAW_LABELS" | sed -r 's/\s*backport-needed\S+//g' | sed -r 's/\s*require\/automation-e2e//g' | xargs | sed 's/ /, /g')
echo "LABELS: $LABELS"