 02bfa3287c
			
		
	
	
		02bfa3287c
		
			
		
	
	
	
	
		
			
			* Remove dead sources Also adds Anchira to issue moderator and removed sources * Update link to *this* PR
		
			
				
	
	
		
			74 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			4.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: tachiyomiorg/issue-moderator-action@v2
 | |
|         with:
 | |
|           repo-token: ${{ secrets.GITHUB_TOKEN }}
 | |
|           duplicate-label: Duplicate
 | |
| 
 | |
|           duplicate-check-enabled: true
 | |
|           duplicate-check-labels: |
 | |
|             ["Source request", "Domain changed"]
 | |
| 
 | |
|           existing-check-enabled: true
 | |
|           existing-check-labels: |
 | |
|             ["Source request", "Domain changed"]
 | |
| 
 | |
|           auto-close-rules: |
 | |
|             [
 | |
|               {
 | |
|                 "type": "body",
 | |
|                 "regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*",
 | |
|                 "message": "The acknowledgment section was not removed."
 | |
|               },
 | |
|               {
 | |
|                 "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": "both",
 | |
|                 "regex": ".*(hq\\s*dragon|manga\\s*host|supermangas|superhentais|union\\s*mangas|yes\\s*mangas|manhuascan|manhwahot|leitor\\.?net|manga\\s*livre|tsuki\\s*mangas|manga\\s*yabu|mangas\\.in|mangas\\.pw|hentaikai|toptoon\\+?|colamanhua|mangadig|hitomi\\.la|copymanga|neox|1manga\\.co|mangafox\\.fun|mangahere\\.onl|mangakakalot\\.fun|manganel(?!o)|mangaonline\\.fun|mangatoday|manga\\.town|onemanga\\.info|koushoku|ksk\\.moe|comikey|leercapitulo|c[uứ]u\\s*truy[eệ]n|day\\s*comics?|reaper\\s*scans|constellar\\s*scans|mode\\s*scanlator|bakai|japscan|izakaya|blackout\\s*comics|anchira).*",
 | |
|                 "ignoreCase": true,
 | |
|                 "labels": ["invalid"],
 | |
|                 "message": "{match} will not be added back as it is too difficult to maintain. Read [this](https://github.com/tachiyomiorg/tachiyomi-extensions/blob/master/REMOVED_SOURCES.md) for more information."
 | |
|               },
 | |
|               {
 | |
|                 "type": "both",
 | |
|                 "regex": ".*(komiktap|gourmet\\s*scans|mangawow|hikari\\s*scans|knightnoscanlations|mangasy|nartag|xxx\\s*yaoi|luminous|hunters\\s*scan|reset(?:\\s*|-)scan|astra\\s*scans|manga(?:-|\\s*)pro|shinobiscans|plot ?twist ?no ?fansub(?: ?scans?)?|plot-twistnf-scans(?:\\.com)?|mhscans|aresmanga|realm ?scans?|mono ?manga|dat(?:\\s*|-)?gar\\s*scan|remangas|moon ?daisy(?: scans?)?).*",
 | |
|                 "ignoreCase": true,
 | |
|                 "labels": ["invalid"],
 | |
|                 "message": "{match} will not be added back as the scanlator team has requested it to be removed. Read [this](https://github.com/tachiyomiorg/tachiyomi-extensions/blob/master/REMOVED_SOURCES.md) for more information."
 | |
|               },
 | |
|               {
 | |
|                 "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)?.*cloud ?fl?are.*",
 | |
|                 "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."
 | |
|               },
 | |
|               {
 | |
|                 "type": "both",
 | |
|                 "regex": ".*(slime\\s*read).*",
 | |
|                 "ignoreCase": true,
 | |
|                 "labels": ["invalid"],
 | |
|                 "message": "{match} will not be added as they have relations to the Mangá Livre team. Read [this](https://github.com/tachiyomiorg/tachiyomi-extensions/blob/master/REMOVED_SOURCES.md) for more information."
 | |
|               }
 | |
|             ]
 | |
|           auto-close-ignore-label: do-not-autoclose
 |