From 5dfd8d1a50081ab0f158f994b24f42691a7c0e8a Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 8 May 2021 17:44:38 -0400 Subject: [PATCH] Github workflow for Issue lock and Support bot --- .github/workflows/lock.yml | 21 +++++++++++++++++++++ .github/workflows/support.yml | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .github/workflows/lock.yml create mode 100644 .github/workflows/support.yml diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 000000000..83af1dd62 --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,21 @@ +name: 'Lock threads' + +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v2 + with: + github-token: ${{ github.token }} + issue-lock-inactive-days: '90' + issue-exclude-created-before: '' + issue-exclude-labels: '' + issue-lock-labels: '' + issue-lock-comment: '' + issue-lock-reason: 'resolved' + process-only: '' diff --git a/.github/workflows/support.yml b/.github/workflows/support.yml new file mode 100644 index 000000000..c75f6a7dc --- /dev/null +++ b/.github/workflows/support.yml @@ -0,0 +1,21 @@ +name: 'Support requests' + +on: + issues: + types: [labeled, unlabeled, reopened] + +jobs: + support: + runs-on: ubuntu-latest + steps: + - uses: dessant/support-requests@v2 + with: + github-token: ${{ github.token }} + support-label: 'Type: Support' + issue-comment: > + :wave: @{issue-author}, we use the issue tracker exclusively + for bug reports and feature requests. However, this issue appears + to be a support request. Please hop over onto our [Discord](https://readarr.com/discord) + or [Subreddit](https://reddit.com/r/readarr) + close-issue: true + lock-issue: false \ No newline at end of file