Update create-issue.yml

This commit is contained in:
David Ko 2023-05-16 16:37:48 +08:00 committed by GitHub
parent 7680931f88
commit 02f7e12546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ jobs:
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\S+//g' | sed -r 's/\s*require\/automation-e2e//g' | xargs | sed 's/ /, /g')
LABELS=$(echo "$RAW_LABELS" | sed -r 's/\s*backport\S+//g' | sed -r 's/\s*require\/auto-e2e-test//g' | xargs | sed 's/ /, /g')
echo "LABELS: $LABELS"
echo "::set-output name=labels::$LABELS"
- name: Create Backport Issue
@ -72,7 +72,7 @@ jobs:
automation:
runs-on: ubuntu-latest
if: contains(github.event.label.name, 'require/automation-e2e')
if: contains(github.event.label.name, 'require/auto-e2e-test')
steps:
- name: Check if Automation Issue Exists
uses: actions-cool/issues-helper@v3