From 28b17c7ec00593b386ea292a22072673bded8cac Mon Sep 17 00:00:00 2001 From: TheBusyBiscuit Date: Fri, 20 Mar 2020 14:44:40 +0100 Subject: [PATCH] [CI skip] Updated GitHub Actions --- .../{issue_closed.yml => closed_issues.yml} | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) rename .github/workflows/{issue_closed.yml => closed_issues.yml} (86%) diff --git a/.github/workflows/issue_closed.yml b/.github/workflows/closed_issues.yml similarity index 86% rename from .github/workflows/issue_closed.yml rename to .github/workflows/closed_issues.yml index 256ba3f13..5af656ee4 100644 --- a/.github/workflows/issue_closed.yml +++ b/.github/workflows/closed_issues.yml @@ -1,4 +1,4 @@ -name: Issue Response +name: Respond to closed Issue on: issues: types: [closed] @@ -6,16 +6,20 @@ on: jobs: comment: runs-on: ubuntu-latest + if: github.event.label.name == 'Bug Report' steps: - - uses: rytswd/respost@v0.1.0 + - uses: maxkomarychev/octions/octions/issues/create-comment@master with: - title: Your issue has been closed! + token: ${{ secrets.ACCESS_TOKEN }} + issue_number: ${{ github.event.issue.number }} body: |- - If your issue was **closed but not resolved**, then it may fall under one or more of the following categories. + Your issue was closed, it may fall under one or more of the following categories. **Please wait for an admin to tick off the points that apply.** Do not post your Issue again until an Admin has reviewed this message and you fixed the points that were ticked. This message can be deleted if your issue was resolved. + Please respond below, if you have any questions. + * [ ] You did not follow our template. Please follow the Issue template to help us identify your issue more quickly. * [ ] You did not provide any information about your versions (We absolutely need your exact versions, \"latest\" is not helpful) * [ ] You did not provide a proper description to the problem. @@ -33,5 +37,3 @@ jobs: * [ ] You are on the wrong issue tracker. We would like to remind you that this Issue Tracker is **only for Slimefun**. To report bugs on any addons, head to the corresponding issue tracker of that addon. Make sure to check out our article on [How to report bugs](https://github.com/TheBusyBiscuit/Slimefun4/wiki/How-to-report-bugs) for even more information. - env: - GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}