github: Add issue templates and action

This commit is contained in:
Brian MacKinney 2019-09-24 23:40:04 -07:00 committed by Bjørn Erik Pedersen
parent e5856e61d8
commit 454a033dc5
4 changed files with 38 additions and 0 deletions

6
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View file

@ -0,0 +1,6 @@
---
name: 'Bug report'
labels: ''
assignees: ''
about: Create a report to help us improve
---

View file

@ -0,0 +1,8 @@
---
name: Proposal
about: Suggest an idea for Hugo
title: ''
labels: ''
assignees: ''
---

10
.github/ISSUE_TEMPLATE/support.md vendored Normal file
View file

@ -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!

View file

@ -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 }}