mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[stale] Clean up stale job (#10892)
This commit is contained in:
		
							
								
								
									
										28
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							| @@ -18,19 +18,19 @@ jobs: | |||||||
|     if: github.repository_owner == 'esphome' |     if: github.repository_owner == 'esphome' | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|  |       - name: Stale | ||||||
|  |         uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 | ||||||
|  |         with: | ||||||
|  |           debug-only: ${{ github.ref != 'refs/heads/dev' }} # Dry-run when not run on dev branch | ||||||
|  |           remove-stale-when-updated: true | ||||||
|  |           operations-per-run: 150 | ||||||
|  |  | ||||||
|           # The 90 day stale policy for PRs |           # The 90 day stale policy for PRs | ||||||
|           # - PRs |           # - PRs | ||||||
|           # - No PRs marked as "not-stale" |           # - No PRs marked as "not-stale" | ||||||
|           # - No Issues (see below) |           # - No Issues (see below) | ||||||
|       - name: 90 days stale PRs |           days-before-pr-stale: 90 | ||||||
|         uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 |           days-before-pr-close: 7 | ||||||
|         with: |  | ||||||
|           days-before-stale: 90 |  | ||||||
|           days-before-close: 7 |  | ||||||
|           days-before-issue-stale: -1 |  | ||||||
|           days-before-issue-close: -1 |  | ||||||
|           operations-per-run: 150 |  | ||||||
|           remove-stale-when-updated: true |  | ||||||
|           stale-pr-label: "stale" |           stale-pr-label: "stale" | ||||||
|           exempt-pr-labels: "not-stale" |           exempt-pr-labels: "not-stale" | ||||||
|           stale-pr-message: > |           stale-pr-message: > | ||||||
| @@ -48,14 +48,8 @@ jobs: | |||||||
|           # - Issues |           # - Issues | ||||||
|           # - No Issues marked as "not-stale" |           # - No Issues marked as "not-stale" | ||||||
|           # - No PRs (see above) |           # - No PRs (see above) | ||||||
|       - name: 90 days stale issues |           days-before-issue-stale: 90 | ||||||
|         uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 |           days-before-issue-close: 7 | ||||||
|         with: |  | ||||||
|           days-before-stale: 90 |  | ||||||
|           days-before-close: 7 |  | ||||||
|           days-before-pr-stale: -1 |  | ||||||
|           days-before-pr-close: -1 |  | ||||||
|           remove-stale-when-updated: true |  | ||||||
|           stale-issue-label: "stale" |           stale-issue-label: "stale" | ||||||
|           exempt-issue-labels: "not-stale" |           exempt-issue-labels: "not-stale" | ||||||
|           stale-issue-message: > |           stale-issue-message: > | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user