chore: configure proper link to discourse.gohugo.io (#8020)
authorPatrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Fri, 4 Dec 2020 09:04:35 +0000 (16:04 +0700)
committerGitHub <noreply@github.com>
Fri, 4 Dec 2020 09:04:35 +0000 (10:04 +0100)
* chore: configure proper link to discourse.gohugo.io

This adds a configuration file to the issue templates for this repo. In this config file, an issue template is added that will look like the existing issue templates, but on click will lead directly to the discourse forum instead of hoping that people read what it says there. The support.md can be deleted.

* chore: remove obsolete support.md configuration

* chore: remove obsolete autoclosing workflow

.github/ISSUE_TEMPLATE/config.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/support.md [deleted file]
.github/workflows/auto_close_support.yml [deleted file]

diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644 (file)
index 0000000..13e7759
--- /dev/null
@@ -0,0 +1,5 @@
+blank_issues_enabled: false
+contact_links:
+    - name: Support
+      url: https://discourse.gohugo.io/
+      about: Please do not use Github for support requests. Visit https://discourse.gohugo.io for support!
diff --git a/.github/ISSUE_TEMPLATE/support.md b/.github/ISSUE_TEMPLATE/support.md
deleted file mode 100644 (file)
index 3183733..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
----
-name: Support (Do not use)
-about: Please do not use Github for support requests. Visit https://discourse.gohugo.io for support
-title: ''
-labels: support
-assignees: ''
-
----
-
-Issues created with this template will be automatically closed. Please visit https://discourse.gohugo.io for the support you really, really, want!
\ No newline at end of file
diff --git a/.github/workflows/auto_close_support.yml b/.github/workflows/auto_close_support.yml
deleted file mode 100644 (file)
index 28a0e69..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-on:
-  schedule:
-  - cron: 0 5 * * 3 
-name: Weekly Issue Closure
-jobs:
-  cycle-weekly-close:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/checkout@master
-    - name: weekly-issue-closure
-      uses: bdougie/close-issues-based-on-label@master
-      env:
-        LABEL: support
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file