mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	Switch issue-close-app to GH Actions and workflow cleanup (#2624)
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/lock.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/lock.yml
									
									
									
									
										vendored
									
									
								
							| @@ -9,13 +9,19 @@ permissions: | ||||
|   issues: write | ||||
|   pull-requests: write | ||||
|  | ||||
| concurrency: | ||||
|   group: lock | ||||
|  | ||||
| jobs: | ||||
|   lock: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: dessant/lock-threads@v2 | ||||
|       - uses: dessant/lock-threads@v3 | ||||
|         with: | ||||
|           github-token: ${{ github.token }} | ||||
|           pr-lock-inactive-days: "1" | ||||
|           pr-inactive-days: "1" | ||||
|           pr-lock-reason: "" | ||||
|           process-only: prs | ||||
|           exclude-any-pr-labels: keep-open | ||||
|  | ||||
|           issue-inactive-days: "7" | ||||
|           issue-lock-reason: "" | ||||
|           exclude-any-issue-labels: keep-open | ||||
|   | ||||
							
								
								
									
										20
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/stale.yml
									
									
									
									
										vendored
									
									
								
							| @@ -9,13 +9,15 @@ permissions: | ||||
|   issues: write | ||||
|   pull-requests: write | ||||
|  | ||||
| concurrency: | ||||
|   group: lock | ||||
|  | ||||
| jobs: | ||||
|   stale: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/stale@v4 | ||||
|         with: | ||||
|           repo-token: ${{ github.token }} | ||||
|           days-before-pr-stale: 90 | ||||
|           days-before-pr-close: 7 | ||||
|           days-before-issue-stale: -1 | ||||
| @@ -28,3 +30,19 @@ jobs: | ||||
|             pull request has been automatically marked as stale because of that | ||||
|             and will be closed if no further activity occurs within 7 days. | ||||
|             Thank you for your contributions. | ||||
|  | ||||
|   # Use stale to automatically close issues with a reference to the issue tracker | ||||
|   close-issues: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/stale@v4 | ||||
|         with: | ||||
|           days-before-pr-stale: -1 | ||||
|           days-before-pr-close: -1 | ||||
|           days-before-issue-stale: 1 | ||||
|           days-before-issue-close: 1 | ||||
|           remove-stale-when-updated: true | ||||
|           stale-issue-label: "stale" | ||||
|           exempt-issue-labels: "not-stale" | ||||
|           stale-issue-message: > | ||||
|             https://github.com/esphome/esphome/issues/430 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user