chore: Add Plugin and Severity Labels Only to Bug Reports
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user