2020-03-20 13:48:20 +00:00
name : Close invalid Issue
2020-03-21 11:58:04 +00:00
2020-07-30 11:30:20 +00:00
on :
issues :
2020-03-20 13:38:21 +00:00
types : [ opened]
jobs :
comment :
2020-08-06 07:51:15 +00:00
name : Invalid Issues
2020-03-20 13:38:21 +00:00
runs-on : ubuntu-latest
2020-08-06 07:51:15 +00:00
2020-12-09 14:02:35 +00:00
if : contains(github.event.issue.labels.*.name, '🐞 Bug Report') == false && contains(github.event.issue.labels.*.name, 'Hacktoberfest') == false
2020-03-20 13:38:21 +00:00
steps :
2020-03-21 11:58:04 +00:00
- name : Close Issue
uses : maxkomarychev/octions/octions/issues/update@master
2020-03-20 13:40:20 +00:00
with :
token : ${{ secrets.ACCESS_TOKEN }}
issue_number : ${{ github.event.issue.number }}
state : closed
2020-03-21 11:58:04 +00:00
- name : Add invalid label
uses : maxkomarychev/octions/octions/issues/add-labels@master
2020-03-20 14:10:30 +00:00
with :
token : ${{ secrets.ACCESS_TOKEN }}
issue_number : ${{ github.event.issue.number }}
labels : 'invalid'
2020-03-21 11:58:04 +00:00
- name : Create a comment
uses : maxkomarychev/octions/octions/issues/create-comment@master
2020-03-20 13:40:20 +00:00
with :
token : ${{ secrets.ACCESS_TOKEN }}
issue_number : ${{ github.event.issue.number }}
2020-03-20 13:48:20 +00:00
body : |-
Your issue seems to be missing our template.
2020-09-06 15:19:17 +00:00
[ Click here to create a bug report](https://github.com/Slimefun/Slimefun4/issues/new/choose)
2020-07-30 11:39:39 +00:00
2020-03-20 13:48:20 +00:00
Please remember that this Bug Tracker is exclusively reserved for Bug reports, any other form
2020-09-06 15:19:17 +00:00
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/Slimefun/Slimefun4#discord)).