cicd: Add responsibility labels to all new issues

This commit is contained in:
jamesread 2024-12-30 02:05:05 +00:00
parent be7168d9c5
commit 17d9e29f19
4 changed files with 4 additions and 1 deletions

View File

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

View File

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

View File

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

View File

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