summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md18
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.md8
-rw-r--r--.github/ISSUE_TEMPLATE/support.md10
-rw-r--r--.github/stale.yml5
-rw-r--r--.github/workflows/auto_close_support.yml14
5 files changed, 53 insertions, 2 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 000000000..0117060d4
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,18 @@
+---
+name: 'Bug report'
+labels: 'bug'
+assignees: ''
+about: Create a report to help us improve
+---
+
+
+<!-- Please answer these questions before submitting your issue. Thanks! -->
+
+### What version of Hugo are you using (`hugo version`)?
+
+<pre>
+$ hugo version
+
+</pre>
+
+### Does this issue reproduce with the latest release?
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 000000000..da14802fb
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,8 @@
+---
+name: Proposal
+about: Suggest an idea for Hugo
+title: ''
+labels: 'Proposal'
+assignees: ''
+
+---
diff --git a/.github/ISSUE_TEMPLATE/support.md b/.github/ISSUE_TEMPLATE/support.md
new file mode 100644
index 000000000..31837330e
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/support.md
@@ -0,0 +1,10 @@
+---
+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/stale.yml b/.github/stale.yml
index 389205294..692c59659 100644
--- a/.github/stale.yml
+++ b/.github/stale.yml
@@ -6,7 +6,6 @@ daysUntilClose: 30
exemptLabels:
- Keep
- Security
- - UndocumentedFeature
# Label to use when marking an issue as stale
staleLabel: Stale
# Comment to post when marking an issue as stale. Set to `false` to disable
@@ -14,7 +13,9 @@ markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
- If you still think this is important, please tell us why.
+ If this is a **bug** and you can still reproduce this error on the <code>master</code> branch, please reply with all of the information you have about it in order to keep the issue open.
+
+ If this is a **feature request**, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
diff --git a/.github/workflows/auto_close_support.yml b/.github/workflows/auto_close_support.yml
new file mode 100644
index 000000000..28a0e695f
--- /dev/null
+++ b/.github/workflows/auto_close_support.yml
@@ -0,0 +1,14 @@
+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