From 454a033dc5bc9b3db626fe1533d7e8494d79f472 Mon Sep 17 00:00:00 2001 From: Brian MacKinney Date: Tue, 24 Sep 2019 23:40:04 -0700 Subject: github: Add issue templates and action --- .github/ISSUE_TEMPLATE/bug_report.md | 6 ++++++ .github/ISSUE_TEMPLATE/feature_request.md | 8 ++++++++ .github/ISSUE_TEMPLATE/support.md | 10 ++++++++++ .github/workflows/auto_close_support.yml | 14 ++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/support.md create mode 100644 .github/workflows/auto_close_support.yml (limited to '.github') 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 -- cgit v1.2.3