WSABuilds/.github/workflows/anti_spam.yml
2022-09-25 12:46:57 +08:00

26 lines
502 B
YAML

name: Anti-spam
on:
issues:
types: [opened]
pull_request_target:
types: [opened, edited]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Anti-spam
uses: dessant/repo-lockdown@v2
with:
exclude-issue-labels: |
bug
enhancement
issue-lock-reason: spam
exclude-pr-labels: |
bug
enhancement
do-not-autoclose
pr-labels: spam
pr-lock-reason: spam