File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 55  push : null 
66  repository_dispatch : null 
77  workflow_dispatch : null 
8+   pull_request :
9+     branches : [main] 
10+     types :
11+       [opened, reopened, synchronize] 
812permissions :
913  contents : read 
1014jobs :
1317    steps :
1418      - uses : actions/checkout@v4 
1519
20+       - name : Restore lychee cache 
21+         uses : actions/cache@v4 
22+         id : restore-cache 
23+         with :
24+           path : .lycheecache 
25+           key : cache-lychee-${{ github.sha }} 
26+           restore-keys : cache-lychee- 
27+ 
1628      - name : Link Checker 
1729        id : lychee 
1830        uses : lycheeverse/lychee-action@v2 
@@ -22,10 +34,14 @@ jobs:
2234            --verbose 
2335            --no-progress 
2436            --user-agent 'Mozilla/5.0 (X11; Linux x86_64) Chrome/134.0.0.0' 
25-             --retry-wait-time 30  
26-             --max-retries 5  
37+             --retry-wait-time 60  
38+             --max-retries 8  
2739            --accept 100..=103,200..=299,429 
2840            --cookie-jar cookies.json 
2941            --exclude-all-private 
42+             --max-concurrency 4 
43+             --cache 
44+             --cache-exclude-status '429, 500..502' 
45+             --max-cache-age 1d 
3046           format : markdown 
3147          fail : true 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments