chore: Add Plugin and Severity Labels Only to Bug Reports
This commit is contained in:
@@ -13,7 +13,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
auto-label:
|
auto-label:
|
||||||
name: Auto Label Issues
|
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
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -59,7 +59,6 @@ jobs:
|
|||||||
uses: actions-ecosystem/action-add-labels@v1
|
uses: actions-ecosystem/action-add-labels@v1
|
||||||
with:
|
with:
|
||||||
labels: |
|
labels: |
|
||||||
BUG
|
|
||||||
Severity: ${{ env.SELECTED_SEVERITY }}
|
Severity: ${{ env.SELECTED_SEVERITY }}
|
||||||
${{ env.LABELS }}
|
${{ env.LABELS }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user