Procházet zdrojové kódy

Add weighted assignments & enable for documentation issue

Jeremy Stretch před 1 rokem
rodič
revize
1c370f45d0
1 změnil soubory, kde provedl 6 přidání a 2 odebrání
  1. 6 2
      .github/workflows/auto-assign-issue.yml

+ 6 - 2
.github/workflows/auto-assign-issue.yml

@@ -13,8 +13,12 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: pozil/auto-assign-issue@v1
-        if: "contains(github.event.issue.labels.*.name, 'type: bug') || contains(github.event.issue.labels.*.name, 'type: feature')"
+        if: >
+          contains(github.event.issue.labels.*.name, 'type: bug') ||
+          contains(github.event.issue.labels.*.name, 'type: feature') ||
+          contains(github.event.issue.labels.*.name, 'type: documentation')
         with:
-          assignees: abhi1693,arthanson,DanSheps,jeffgdotorg,jeremystretch
+          # Weighted assignments
+          assignees: arthanson:3, jeffgdotorg:3, jeremystretch:3, abhi1693, DanSheps
           numOfAssignee: 1
           abortIfPreviousAssignees: true