Block-storage issue #820
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close invalid Issue | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
comment: | |
name: Invalid Issues | |
runs-on: ubuntu-latest | |
if: contains(github.event.issue.labels.*.name, '🐞 Bug Report') == false && contains(github.event.issue.labels.*.name, 'Hacktoberfest') == false | |
steps: | |
- name: Close Issue | |
uses: maxkomarychev/octions/octions/issues/update@master | |
with: | |
token: ${{ secrets.ACCESS_TOKEN }} | |
issue_number: ${{ github.event.issue.number }} | |
state: closed | |
- name: Add invalid label | |
uses: maxkomarychev/octions/octions/issues/add-labels@master | |
with: | |
token: ${{ secrets.ACCESS_TOKEN }} | |
issue_number: ${{ github.event.issue.number }} | |
labels: 'invalid' | |
- name: Create a comment | |
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/Slimefun/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/Slimefun/Slimefun4#discord)). |