mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
e70309c023
Was causing too many false positives.
67 lines
3.0 KiB
YAML
67 lines
3.0 KiB
YAML
name: Issue moderator
|
|
|
|
on:
|
|
issues:
|
|
types: [ opened, edited, reopened ]
|
|
issue_comment:
|
|
types: [ created ]
|
|
|
|
jobs:
|
|
autoclose:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Moderate issues
|
|
uses: keiyoushi/issue-moderator-action@a017be83547db6e107431ce7575f53c1dfa3296a
|
|
with:
|
|
repo-token: ${{ secrets.ISSUE_MODERATOR_PAT }}
|
|
duplicate-label: Duplicate
|
|
|
|
blurbs: |
|
|
[
|
|
{
|
|
"keywords": ["cf", "cloudflare"],
|
|
"message": "Refer to the **Solving Cloudflare issues** section at https://tachiyomi.org/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
|
|
|
|
auto-close-rules: |
|
|
[
|
|
{
|
|
"type": "body",
|
|
"regex": ".*\\* (Tachiyomi version|Android version|Device): \\?.*",
|
|
"message": "Requested information in the template was not filled out."
|
|
},
|
|
{
|
|
"type": "title",
|
|
"regex": ".*(Source name|Short description).*",
|
|
"message": "You did not fill out the description in the title."
|
|
},
|
|
{
|
|
"type": "body",
|
|
"regex": "- \\[[xX]\\] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements\\.",
|
|
"labels": [":clown_face:"],
|
|
"message": "You have not carefully read the acknowledgements."
|
|
},
|
|
{
|
|
"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://tachiyomi.org/docs/guides/troubleshooting/#cloudflare. If it doesn't work, migrate to other sources or wait until they lower their protection."
|
|
}
|
|
]
|
|
auto-close-ignore-label: do-not-autoclose
|