chore: configure proper link to discourse.gohugo.io (#8020) - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 4e0acb89b793d8895dc53eb8887be27430c3ab31
DIR parent 718e09ed4bc538f4fccc4337f99e9eb86aea31f3
HTML Author: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Date: Fri, 4 Dec 2020 16:04:35 +0700
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:
A .github/ISSUE_TEMPLATE/config.yml | 5 +++++
D .github/ISSUE_TEMPLATE/support.md | 11 -----------
D .github/workflows/auto_close_suppo… | 15 ---------------
3 files changed, 5 insertions(+), 26 deletions(-)
---
DIR diff --git a/.github/ISSUE_TEMPLATE/config.yml 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!
DIR diff --git a/.github/ISSUE_TEMPLATE/support.md b/.github/ISSUE_TEMPLATE/support.md
@@ -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
DIR diff --git a/.github/workflows/auto_close_support.yml b/.github/workflows/auto_close_support.yml
@@ -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