Просмотр исходного кода

cicd: Add responsibility labels to all new issues

jamesread 1 год назад
Родитель
Сommit
17d9e29f19

+ 1 - 0
.github/ISSUE_TEMPLATE/bug_report.md

@@ -4,6 +4,7 @@ about: Create a report to help us improve
 title: ""
 labels:
   - "type: bug"
+  - "waiting-on-developer"
 assignees: ''
 
 ---

+ 1 - 0
.github/ISSUE_TEMPLATE/feature_request.md

@@ -4,6 +4,7 @@ about: Suggest an idea for this project
 title: ''
 labels:
   - "type: feature-request"
+  - "waiting-on-developer"
 assignees: ''
 
 ---

+ 1 - 0
.github/ISSUE_TEMPLATE/support_request.md

@@ -4,6 +4,7 @@ about: Need some help? Got an error message?
 title: ""
 labels:
   - "type: support"
+  - "waiting-on-developer"
 assignees: ''
 
 ---

+ 1 - 1
.github/workflows/issue-responsibility.yml

@@ -28,7 +28,7 @@ jobs:
 
             const developers = ["jamesread"]
             const commenterIsDeveloper = developers.includes(commentAuthor);
-            const commentorIsUser = !commenterIsDeveloper;
+            const commenterIsUser = !commenterIsDeveloper;
 
             const issueLabels = context.payload.issue.labels.map(label => label.name);