public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
added action for support label in issues
e184713c
.github/workflows/check_if_support_labeled.yml | 37 ++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 .github/workflows/check_if_support_labeled.yml
Diff
diff --git a/.github/workflows/check_if_support_labeled.yml b/.github/workflows/check_if_support_labeled.yml
new file mode 100644
index 00000000..87d93ecb
--- /dev/null
+++ b/.github/workflows/check_if_support_labeled.yml
@@ -0,0 +1,37 @@
+name: Check if labeled support, if so send message and close issue
+on:
+ issues:
+ types:
+ - labeled
+jobs:
+ add-comment:
+ if: github.event.label.name == 'support'
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+ steps:
+ - name: Add comment
+ run: gh issue comment "$NUMBER" --body "$BODY"
+ env:
+ GH_TOKEN: ${{ secrets.SUPPORTISSUES_ACTION_PAT }}
+ GH_REPO: ${{ github.repository }}
+ NUMBER: ${{ github.event.issue.number }}
+ BODY: |
+ **THIS IS A AUTOMATED MESSAGE!**
+
+ It seems your issue is not a bug.
+ Therefore we highly advise you to get support!
+
+ You can get support either by:
+ - ordering a paid [support contract at Servercow](https://www.servercow.de/mailcow?lang=en#support/) (Directly from the developers) or
+ - using the [community forum](https://community.mailcow.email) (**Based on volunteers! NO guaranteed answer**) or
+ - using the [Telegram support channel](https://t.me/mailcow) (**Based on volunteers! NO guaranteed answer**)
+
+ This issue will be closed. If you think your reported issue is not a support case feel free to comment above and if so the issue will reopened.
+
+ - name: Close issue
+ env:
+ GH_TOKEN: ${{ secrets.SUPPORTISSUES_ACTION_PAT }}
+ GH_REPO: ${{ github.repository }}
+ NUMBER: ${{ github.event.issue.number }}
+ run: gh issue close "$NUMBER" -r "not planned"
\ No newline at end of file