فهرست منبع

cicd: Issue responsibility bugs

jamesread 1 سال پیش
والد
کامیت
be7168d9c5
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      .github/workflows/issue-responsibility.yml

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

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