Module: kamailio
Branch: master
Commit: 13cc11b8506f695dacacc99d6eb1341c99c87cc7
URL: 
https://github.com/kamailio/kamailio/commit/13cc11b8506f695dacacc99d6eb1341c99c87cc7

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2025-04-03T12:04:36+02:00

github: fix issue_labeled workflow [skip ci]

---

Modified: .github/workflows/issue_labeled.yml

---

Diff:  
https://github.com/kamailio/kamailio/commit/13cc11b8506f695dacacc99d6eb1341c99c87cc7.diff
Patch: 
https://github.com/kamailio/kamailio/commit/13cc11b8506f695dacacc99d6eb1341c99c87cc7.patch

---

diff --git a/.github/workflows/issue_labeled.yml 
b/.github/workflows/issue_labeled.yml
index 31d546c733f..a3451852528 100644
--- a/.github/workflows/issue_labeled.yml
+++ b/.github/workflows/issue_labeled.yml
@@ -13,8 +13,14 @@ jobs:
         with:
           script: |
             github.rest.issues.createComment({
-              issue_number: context.issue.number,
               owner: context.repo.owner,
               repo: context.repo.repo,
+              issue_number: context.issue.number,
               body: 'This tracker is for reporting issues in the C code, for 
questions about kamailio use sr-us...@lists.kamailio.org mailing list.'
-            })
+            });
+            github.rest.issues.update({
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              issue_number: context.issue.number,
+              state: "close",
+            });

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to