aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorBrian MacKinney <[email protected]>2019-09-24 23:40:04 -0700
committerBjørn Erik Pedersen <[email protected]>2019-09-25 08:40:04 +0200
commit454a033dc5bc9b3db626fe1533d7e8494d79f472 (patch)
tree757772800829fa06cb6936495737785f1de31095 /.github
parente5856e61d88ef5149582851b00e06b5b93dce9f8 (diff)
downloadhugo-454a033dc5bc9b3db626fe1533d7e8494d79f472.tar.gz
hugo-454a033dc5bc9b3db626fe1533d7e8494d79f472.zip
github: Add issue templates and action
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md6
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.md8
-rw-r--r--.github/ISSUE_TEMPLATE/support.md10
-rw-r--r--.github/workflows/auto_close_support.yml14
4 files changed, 38 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 000000000..f3f8a4fa8
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,6 @@
+---
+name: 'Bug report'
+labels: ''
+assignees: ''
+about: Create a report to help us improve
+---
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 000000000..272d3ec67
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,8 @@
+---
+name: Proposal
+about: Suggest an idea for Hugo
+title: ''
+labels: ''
+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/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