Update issue stale action
This commit is contained in:
		
							
								
								
									
										20
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							@@ -2,7 +2,7 @@ name: Mark stale issues and pull requests
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  schedule:
 | 
			
		||||
  - cron: "15 16 * * *"
 | 
			
		||||
  - cron: "27 9 * * *"
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  stale:
 | 
			
		||||
@@ -10,15 +10,27 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/stale@v1
 | 
			
		||||
    - uses: actions/stale@v3
 | 
			
		||||
      with:
 | 
			
		||||
        repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
        only-labels: 'question'
 | 
			
		||||
        stale-issue-message: 'There has been no activity on this question for an extended period of time. This issue will be closed after further 14 days of inactivity.'
 | 
			
		||||
        stale-issue-label: 'stale'
 | 
			
		||||
        exempt-issue-labels: 'leave open'
 | 
			
		||||
        days-before-stale: 15
 | 
			
		||||
        days-before-close: -1
 | 
			
		||||
        operations-per-run: 7
 | 
			
		||||
        remove-stale-when-updated: false
 | 
			
		||||
    - uses: actions/stale@v3
 | 
			
		||||
      with:
 | 
			
		||||
        repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
        stale-issue-message: 'There has been no activity on this issue for an extended period of time. This issue will be closed after further 14 days of inactivity.'
 | 
			
		||||
        stale-pr-message: 'There has been no activity on this Pull Request for an extended period of time. This Pull Request will be closed after further 14 days of inactivity.'
 | 
			
		||||
        stale-issue-label: 'stale'
 | 
			
		||||
        stale-pr-label: 'stale'
 | 
			
		||||
        exempt-issue-label: 'leave open'
 | 
			
		||||
        exempt-pr-label: 'leave open'
 | 
			
		||||
        exempt-issue-labels: 'leave open'
 | 
			
		||||
        exempt-pr-labels: 'leave open'
 | 
			
		||||
        days-before-stale: 90
 | 
			
		||||
        days-before-close: 14
 | 
			
		||||
        operations-per-run: 7
 | 
			
		||||
        remove-stale-when-updated: false
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user