mirror of
				https://github.com/awesome-selfhosted/awesome-selfhosted.git
				synced 2025-11-04 00:32:16 +01:00 
			
		
		
		
	Warn on awesomebot fails
This commit is contained in:
		@@ -13,6 +13,7 @@ before_script:
 | 
			
		||||
script:
 | 
			
		||||
  - git diff master.. -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md || (exit 0)
 | 
			
		||||
  - node test.js temp.md
 | 
			
		||||
  - awesome_bot temp.md --allow-redirect --allow-ssl || (exit 0)
 | 
			
		||||
  - danger --verbose
 | 
			
		||||
 | 
			
		||||
notifications:
 | 
			
		||||
 
 | 
			
		||||
@@ -26,7 +26,6 @@ end
 | 
			
		||||
 | 
			
		||||
# Check syntax
 | 
			
		||||
if has_readme_changes
 | 
			
		||||
 awesome_bot temp.md --allow-redirect --allow-ssl
 | 
			
		||||
 require 'json'
 | 
			
		||||
 syntaxresults = File.read 'syntaxcheck.json'
 | 
			
		||||
 sj = JSON.parse syntaxresults
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user