cicd: Add responsibility labels to all new issues
This commit is contained in:
parent
be7168d9c5
commit
17d9e29f19
|
|
@ -4,6 +4,7 @@ about: Create a report to help us improve
|
|||
title: ""
|
||||
labels:
|
||||
- "type: bug"
|
||||
- "waiting-on-developer"
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ about: Suggest an idea for this project
|
|||
title: ''
|
||||
labels:
|
||||
- "type: feature-request"
|
||||
- "waiting-on-developer"
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ about: Need some help? Got an error message?
|
|||
title: ""
|
||||
labels:
|
||||
- "type: support"
|
||||
- "waiting-on-developer"
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue