Create stale.yml
Stale Issues (no progress for about 2 months) will be discarded automatically
This commit is contained in:
		
							
								
								
									
										22
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
				
			|||||||
 | 
					name: Mark stale issues and pull requests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  schedule:
 | 
				
			||||||
 | 
					  - cron: "0 0 * * *"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  stale:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					    - uses: actions/stale@v1
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
 | 
					        stale-issue-message: 'Stale issue message'
 | 
				
			||||||
 | 
					        stale-pr-message: 'Stale pull request message'
 | 
				
			||||||
 | 
					        stale-issue-label: 'no-issue-activity'
 | 
				
			||||||
 | 
					        days-before-stale: 60
 | 
				
			||||||
 | 
					        days-before-close: 7
 | 
				
			||||||
 | 
					        stale-pr-label: 'no-pr-activity'
 | 
				
			||||||
 | 
					        operations-per-run: 30
 | 
				
			||||||
		Reference in New Issue
	
	Block a user