summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorPatrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>2020-12-04 16:04:35 +0700
committerGitHub <noreply@github.com>2020-12-04 10:04:35 +0100
commit4e0acb89b793d8895dc53eb8887be27430c3ab31 (patch)
tree58b91f0a60ae926418bd99b051959b9a34748a7b /.github
parent718e09ed4bc538f4fccc4337f99e9eb86aea31f3 (diff)
chore: configure proper link to discourse.gohugo.io (#8020)
* 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
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/config.yml5
-rw-r--r--.github/ISSUE_TEMPLATE/support.md10
-rw-r--r--.github/workflows/auto_close_support.yml14
3 files changed, 5 insertions, 24 deletions
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 000000000..13e775943
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -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
index 31837330e..000000000
--- a/.github/ISSUE_TEMPLATE/support.md
+++ /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
index 28a0e695f..000000000
--- a/.github/workflows/auto_close_support.yml
+++ /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