ci: add kind/backport label for backport issues
Signed-off-by: Yang Chiu <yang.chiu@suse.com>
This commit is contained in:
parent
bfe44afdf8
commit
1e55e457c3
1
.github/workflows/create-issue.yml
vendored
1
.github/workflows/create-issue.yml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user