Module: kamailio
Branch: master
Commit: 5b2d39253b7a1a8aca313f0c5d8861637a3f367a
URL: 
https://github.com/kamailio/kamailio/commit/5b2d39253b7a1a8aca313f0c5d8861637a3f367a

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

github: Issue label helper workflow [skip ci]

reacts when an issue get a label:

* 'mailing list question' => small comment and close it

---

Added: .github/workflows/issue_labeled.yml

---

Diff:  
https://github.com/kamailio/kamailio/commit/5b2d39253b7a1a8aca313f0c5d8861637a3f367a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/5b2d39253b7a1a8aca313f0c5d8861637a3f367a.patch

---

diff --git a/.github/workflows/issue_labeled.yml 
b/.github/workflows/issue_labeled.yml
new file mode 100644
index 00000000000..c0ad87c5e7b
--- /dev/null
+++ b/.github/workflows/issue_labeled.yml
@@ -0,0 +1,19 @@
+name: Issue Label helper
+
+on:
+  issues:
+    types: [labeled]
+
+jobs:
+  reply-helper:
+    runs-on: ubuntu-latest
+    steps:
+      - name: mailing list question
+        if: github.event.label.name == 'mailing list question'
+        run: gh issue close $ISSUE --comment "$MSG"
+        env:
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          ISSUE: ${{ github.event.issue.number }}
+          MSG: |
+            This tracker is for reporting issues in the C code, for questions
+            about kamailio use sr-us...@lists.kamailio.org mailing list.

_______________________________________________
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