-
Notifications
You must be signed in to change notification settings - Fork 64
32 lines (29 loc) · 919 Bytes
/
Copy pathmod.yml
File metadata and controls
32 lines (29 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Moderate Issues and PRs
on:
issues:
types: [opened, reopened]
pull_request_target:
types: [opened, reopened]
jobs:
moderate:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Run gh-admin-mod
uses: Bashamega/gh-admin-mod@v1
with:
# Enable blocklist (enabled by default, but shown here for clarity)
block-issues: "false"
# Enable auto-mod (disabled by default)
auto-mod: "true"
auto-mod-keywords: "telegram,whatsapp,t.me,airdrop,bonus,dm me,contact me,investment opportunity"
auto-mod-max-links: "3"
auto-mod-new-contributors-only: "true"
auto-mod-label: "auto-moderated"
# General settings
add-label: "moderated"
lock-conversation: "true"
close-reason: "not_planned"
dry-run: "false"