diff --git a/.github/workflows/issue_auto_label.yml b/.github/workflows/issue_auto_label.yml index 855e718..abe5b55 100644 --- a/.github/workflows/issue_auto_label.yml +++ b/.github/workflows/issue_auto_label.yml @@ -13,7 +13,7 @@ concurrency: jobs: auto-label: name: Auto Label Issues - if: ${{ github.event.issue.body && contains(github.event.issue.body, '### Plugin') }} + if: ${{ github.event.issue.body && contains(github.event.issue.body, '### Plugin') && contains(github.event.issue.labels.*.name, 'Bug') }} runs-on: ubuntu-latest steps: @@ -59,7 +59,6 @@ jobs: uses: actions-ecosystem/action-add-labels@v1 with: labels: | - BUG Severity: ${{ env.SELECTED_SEVERITY }} ${{ env.LABELS }}