]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More updates to GitHub issues
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Mon, 12 Jul 2021 18:23:45 +0000 (19:23 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Mon, 12 Jul 2021 20:12:06 +0000 (21:12 +0100)
- Actions job to close invalid issues
- Add users/devel mailing lists to new issue page
- Disable blank issue link

.github/ISSUE_TEMPLATE/config.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/other_report.md
.github/workflows/issuebot.yml [new file with mode: 0644]

diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644 (file)
index 0000000..7cacb6d
--- /dev/null
@@ -0,0 +1,8 @@
+blank_issues_enabled: false
+contact_links:
+  - name: FreeRADIUS Users Mailing list
+    url: https://freeradius.org/support/
+    about: 'Please ask non-bug related questions on the "users" mailing list.'
+  - name: Development questions
+    url: https://freeradius.org/support/
+    about: 'Please ask development related questions on the "development" mailing list.'
index 894407361b5fa09906396b03be63f34eb6ad3f81..8f139c9810aaed6e1787be24e95e8a4ac126aa9c 100644 (file)
@@ -2,6 +2,7 @@
 name: Any other questions about FreeRADIUS
 about: Configuration problems, "how do I...?", writing your own modules, etc.
 title: "READ THE MESSAGE BELOW, DO NOT SUBMIT A GITHUB ISSUE"
+labels: [other]
 ---
 
 # STOP!
@@ -10,6 +11,8 @@ title: "READ THE MESSAGE BELOW, DO NOT SUBMIT A GITHUB ISSUE"
 
 - GitHub Issues are for **confirmed BUG REPORTS only** (e.g. software crashes). Use the "BUG REPORT" template.
 
+- Programming questions should be asked on the [developer's list](https://freeradius.org/support/).
+
 - Do not submit **any** other general questions such as "how do I configure this" here.
 
 - It is NOT a bug report if your configuration simply does not work. Ask for help on the mailing list.
@@ -18,9 +21,5 @@ title: "READ THE MESSAGE BELOW, DO NOT SUBMIT A GITHUB ISSUE"
 
 - **Remote security exploits MUST be sent to security@freeradius.org.**
 
-# READ THE ABOVE NOTICE
-
-# DO NOT SUBMIT THIS ISSUE HERE
-
-"Blank" issues will be closed in the same way.
+# PLEASE READ THE ABOVE NOTICE - DO NOT SUBMIT THIS ISSUE HERE
 
diff --git a/.github/workflows/issuebot.yml b/.github/workflows/issuebot.yml
new file mode 100644 (file)
index 0000000..5dad441
--- /dev/null
@@ -0,0 +1,19 @@
+name: "Close non-bug issues"
+
+on:
+  schedule:
+    - cron: "15 * * * * "
+  workflow_dispatch:
+
+jobs:
+  close_invalid_issues:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/stale@v3
+        with:
+          repo-token: ${{ secrets.GITHUB_TOKEN }}
+          stale-issue-message: 'This issue is off topic'
+          close-issue-message: 'This issue was closed because it is off topic, please ask on the FreeRADIUS users list instead: https://freeradius.org/support/'
+          days-before-stale: 0
+          days-before-close: 0
+          any-of-labels: "other"