Module: kamailio Branch: master Commit: 5b2d39253b7a1a8aca313f0c5d8861637a3f367a URL: https://github.com/kamailio/kamailio/commit/5b2d39253b7a1a8aca313f0c5d886163...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@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/5b2d39253b7a1a8aca313f0c5d886163... Patch: https://github.com/kamailio/kamailio/commit/5b2d39253b7a1a8aca313f0c5d886163...
---
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-users@lists.kamailio.org mailing list.