Skip to content

api.WebSocket.WebSocket - <SUMMARIZE THE PROBLEM> #5214

api.WebSocket.WebSocket - <SUMMARIZE THE PROBLEM>

api.WebSocket.WebSocket - <SUMMARIZE THE PROBLEM> #5214

name: Close incomplete issue templates
on:
issues:
types:
- opened
permissions:
issues: write
jobs:
close-issues-if-invalid:
runs-on: ubuntu-latest
steps:
- uses: queengooborg/invalid-issue-closer@43bf1ddff3e83d208b77a3e364f7b5e22f6a9657 # v1.6.0
id: blank-body-check
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labels: "spam"
lock: "spam"
comment: |
This issue has been identified as spam and has been automatically closed and locked. Do not use this repository for posting spam.
normalize-newlines: true
body-is-blank: true
- uses: queengooborg/invalid-issue-closer@43bf1ddff3e83d208b77a3e364f7b5e22f6a9657 # v1.6.0
if: steps.blank-body-check.outputs.was-closed == 'false'
id: spam-check
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labels: "spam"
comment: |
This issue has been identified as spam and has been automatically closed. Do not use this repository for posting spam.
If you believe this issue was incorrectly classified as spam, please comment below. A maintainer will review, and reopen if necessary.
normalize-newlines: true
is-spammy: true
- uses: queengooborg/invalid-issue-closer@43bf1ddff3e83d208b77a3e364f7b5e22f6a9657 # v1.6.0
if: steps.spam-check.outputs.was-closed == 'false'
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labels: "invalid"
comment: |
This issue was automatically closed because the title was left as the default, and a summary was not added.
If this is not a spam issue, please replace the `<SUMMARIZE THE PROBLEM>` part of the title with a short summary of the reported issue, and then post a follow-up comment. A maintainer will review your issue and reopen it if needed.
normalize-newlines: true
title-contains: "<SUMMARIZE THE PROBLEM>"