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

26 lines
495 B
YAML

name: Anti-spam
on:
issues:
types: [opened]
pull_request:
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