mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 23:07:57 +01:00 
			
		
		
		
	Necro-posting and notifying all subscribers for the purpose of preventing necro-posting is somewhat ironic
		
			
				
	
	
		
			30 lines
		
	
	
		
			622 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			622 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # SPDX-FileCopyrightText: 2017 - 2023 Armin Sebastian
 | |
| #
 | |
| # SPDX-License-Identifier: MIT
 | |
| 
 | |
| ---
 | |
| name: 'Lock Threads'
 | |
| on:  # yamllint disable-line rule:truthy
 | |
|   # Use this to do a dry run from a pull request
 | |
|   # pull_request:
 | |
|   schedule:
 | |
|     - cron: '0 * * * *'
 | |
|   workflow_dispatch:
 | |
| 
 | |
| permissions:
 | |
|   issues: write
 | |
|   pull-requests: write
 | |
| 
 | |
| concurrency:
 | |
|   group: lock-threads
 | |
| 
 | |
| jobs:
 | |
|   action:
 | |
|     if: github.repository == 'spantaleev/matrix-docker-ansible-deploy'
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - uses: dessant/lock-threads@v5
 | |
|         with:
 | |
|           add-issue-labels: 'outdated'
 | |
|           process-only: 'issues, prs'
 |