1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00
Slimefun4/.github/workflows/invalid_issues.yml
2020-03-20 14:52:11 +01:00

27 lines
1.1 KiB
YAML

name: Close invalid Issue
on:
issues:
types: [opened]
jobs:
comment:
runs-on: ubuntu-latest
if: github.event.label.name != 'Bug Report'
steps:
- run: echo ${{ github.event.label.name }}
- uses: maxkomarychev/octions/octions/issues/update@master
with:
token: ${{ secrets.ACCESS_TOKEN }}
issue_number: ${{ github.event.issue.number }}
state: closed
- uses: maxkomarychev/octions/octions/issues/create-comment@master
with:
token: ${{ secrets.ACCESS_TOKEN }}
issue_number: ${{ github.event.issue.number }}
body: |-
Your issue seems to be missing our template.
[Click here to create a bug report](https://github.com/TheBusyBiscuit/Slimefun4/issues/new/choose)
Please remember that this Bug Tracker is exclusively reserved for Bug reports, any other form
of discussion, like suggestions or questions should be posted on our discord server (You can find a link [on our main page](https://github.com/TheBusyBiscuit/Slimefun4#discord)).