forked from keiyoushi/extensions-source
-
Notifications
You must be signed in to change notification settings - Fork 0
79 lines (71 loc) · 3.7 KB
/
Copy pathissue_moderator.yml
File metadata and controls
79 lines (71 loc) · 3.7 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Issue moderator
on:
issues:
types: [ opened, edited, reopened ]
issue_comment:
types: [ created ]
permissions:
issues: write
jobs:
autoclose:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Moderate issues
uses: keiyoushi/issue-moderator-action@47efd0d5433617dd41614d0a00257fb5d3d59fbf
with:
repo-token: ${{ github.token }}
member-token: ${{ secrets.MEMBER_TOKEN }}
duplicate-label: Duplicate
blurbs: |
[
{
"keywords": ["cf", "cloudflare"],
"message": "Refer to the **Solving Cloudflare issues** section at https://keiyoushi.github.io/docs/guides/troubleshooting#cloudflare. If it doesn't work, migrate to other sources or wait until they lower their protection."
},
{
"keywords": ["uninstall"],
"message": "Uninstall the extension before updating. If that does not work, uninstall it from your device's settings by navigating to your device's Settings -> Apps and uninstall it from there by looking for `Tachiyomi: <extension name>`.\n\nThis is usually caused your previous extension having a different signature from the updated extension, making Android refuse to update it."
}
]
duplicate-check-enabled: true
duplicate-check-labels: |
["Source request", "Domain changed"]
existing-check-enabled: true
existing-check-labels: |
["Source request", "Domain changed"]
existing-check-repo-url: https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json
url-search-sections: |
["Source link", "Source new URL"]
auto-close-rules: |
[
{
"type": "both",
"regex": ".*(?:fail(?:ed|ure|s)?|can\\s*(?:no|')?t|(?:not|un).*able|(?<!n[o']?t )blocked by|error) (?:to )?(?:get past|by ?pass|penetrate)?.*cl[oa]ud ?fl?[ai]re.*",
"ignoreCase": true,
"labels": ["Cloudflare protected"],
"message": "Refer to the **Solving Cloudflare issues** section at https://keiyoushi.github.io/docs/guides/troubleshooting#cloudflare. If it doesn't work, migrate to other sources or wait until they lower their protection."
},
{
"type": "both",
"regex": "\\b(remanga\\.org|nhentai(\\.net)?|e([x-])?hentai(\\.org)?|hitomi\\.la|pururin(\\.me)?|hentai2read(\\.com)?|hentai20\\.io)\\b",
"ignoreCase": true,
"labels": ["invalid"],
"message": "{match} will not be added back as it has been removed [due to legal reasons](https://github.com/github/dmca).\nThis was also mentioned in #14260, which is pinned on the Issues page. Search the existing requests first & don't acknowledge that you searched when you clearly didn't."
},
{
"type": "both",
"regex": "\\b(kumanga\\.com|sakuramangas\\.org)\\b",
"ignoreCase": true,
"labels": ["invalid"],
"message": "{match} will not be added back as it is too difficult to maintain.\nThis was also mentioned in #14260, which is pinned on the Issues page. Search the existing requests first & don't acknowledge that you searched when you clearly didn't."
},
{
"type": "both",
"regex": "\\b(centralnovel\\.com)\\b",
"ignoreCase": true,
"labels": ["invalid"],
"message": "Novels aren't supported"
}
]
auto-close-ignore-label: do-not-autoclose