Skip to content

Instantly share code, notes, and snippets.

@duncanmcclean
Created July 13, 2022 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duncanmcclean/96b048ac6cb95b0cf35ac813912a6e0a to your computer and use it in GitHub Desktop.
Save duncanmcclean/96b048ac6cb95b0cf35ac813912a6e0a to your computer and use it in GitHub Desktop.
name: "Annoying Users"
on:
issues:
jobs:
close_and_ban:
if: "contains(github.event.issue.title, '??') || contains(github.event.issue.body, '??')"
name: Close & Ban
runs-on: ubuntu-latest
steps:
- name: Close issue
uses: peter-evans/close-issue@v2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment