From ba20f950cdcc0a21c6bb7a8080d8a9c78ee03f42 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Tue, 2 Mar 2021 17:28:27 -0800 Subject: [PATCH] Add issues workflow [skip ci] --- .github/label-actions.yml | 42 ++++++++++++++++++++++++++++++++++++ .github/workflows/issues.yml | 15 +++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 .github/label-actions.yml create mode 100644 .github/workflows/issues.yml diff --git a/.github/label-actions.yml b/.github/label-actions.yml new file mode 100644 index 00000000..5a7c4161 --- /dev/null +++ b/.github/label-actions.yml @@ -0,0 +1,42 @@ +# Configuration for Label Actions - https://github.com/dessant/label-actions + +fixed:next-release: + comment: > + This issue has been fixed and will be available in the next release of Tautulli. + +invalid:duplicate: + comment: > + :wave: @{issue-author}, this appears to be a duplicate of a pre-existing issue. + close: true + lock: true + unlabel: 'status:awaiting-triage' + +-invalid:duplicate: + reopen: true + unlock: true + +invalid:support: + comment: > + :wave: @{issue-author}, we use the issue tracker exclusively for bug reports. + However, this issue appears to be a support request. Please use our support + channels to get help with Tautulli. Thanks. + - [Discord](https://tautulli.com/discord) + - [Reddit](https://reddit.com/r/Tautulli) + close: true + lock: true + lock-reason: 'off-topic' + unlabel: 'status:awaiting-triage' + +-invalid:support: + reopen: true + unlock: true + +invalid:template-incomplete: + comment: > + :wave: @{issue-author}, please edit your issue to complete the template with + all the required info. Thanks. + lock: true + lock-reason: '' + +-invalid:template-incomplete: + unlock: true diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 00000000..6505a7d6 --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,15 @@ +name: Issues + +on: + issues: + types: [labeled, unlabeled] + +jobs: + label: + name: Label Issues + runs-on: ubuntu-latest + steps: + - uses: dessant/label-actions@v2 + with: + github-token: ${{ github.token }} + process-only: issues