cicd: Issue responsibility bugs

This commit is contained in:
jamesread 2024-12-30 01:59:27 +00:00
parent d36b23832c
commit be7168d9c5
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ jobs:
const issueLabels = context.payload.issue.labels.map(label => label.name); const issueLabels = context.payload.issue.labels.map(label => label.name);
if (issueLabels.includes("waiting-on-developer") { if (issueLabels.includes("waiting-on-developer")) {
if (commenterIsDeveloper) { if (commenterIsDeveloper) {
await github.rest.issues.removeLabel({ await github.rest.issues.removeLabel({
owner, owner,
@ -52,7 +52,7 @@ jobs:
} }
} }
if (issueLabels.includes("waiting-on-requestor") { if (issueLabels.includes("waiting-on-requestor")) {
if (commenterIsUser) { if (commenterIsUser) {
await github.rest.issues.removeLabel({ await github.rest.issues.removeLabel({
owner, owner,