From: Brian MacKinney Date: Wed, 25 Sep 2019 06:40:04 +0000 (-0700) Subject: github: Add issue templates and action X-Git-Tag: v0.59.0~39 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=454a033dc5bc9b3db626fe1533d7e8494d79f472;p=brevno-suite%2Fhugo github: Add issue templates and action --- diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..f3f8a4fa --- /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 00000000..272d3ec6 --- /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 00000000..31837330 --- /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 00000000..28a0e695 --- /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