mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
github: Add issue templates and action
This commit is contained in:
parent
e5856e61d8
commit
454a033dc5
4 changed files with 38 additions and 0 deletions
6
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
6
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
name: 'Bug report'
|
||||
labels: ''
|
||||
assignees: ''
|
||||
about: Create a report to help us improve
|
||||
---
|
8
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
8
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal 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
10
.github/ISSUE_TEMPLATE/support.md
vendored
Normal 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!
|
14
.github/workflows/auto_close_support.yml
vendored
Normal file
14
.github/workflows/auto_close_support.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue