mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update main.yml
This commit is contained in:
		
							parent
							
								
									f0da879ae6
								
							
						
					
					
						commit
						d503898b77
					
				| 
						 | 
					@ -1,7 +1,8 @@
 | 
				
			||||||
 | 
					# Close any issue that does not match any of the issue templates
 | 
				
			||||||
 | 
					name: 🎯 Close Incomplete Issues
 | 
				
			||||||
on:
 | 
					on:
 | 
				
			||||||
  issues:
 | 
					  issues:
 | 
				
			||||||
    types: [opened, edited]
 | 
					    types: [opened, edited]
 | 
				
			||||||
 | 
					 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  auto_close_issues:
 | 
					  auto_close_issues:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
| 
						 | 
					@ -11,6 +12,10 @@ jobs:
 | 
				
			||||||
      - name: Automatically close issues that don't follow the issue template
 | 
					      - name: Automatically close issues that don't follow the issue template
 | 
				
			||||||
        uses: lucasbento/auto-close-issues@v1.0.2
 | 
					        uses: lucasbento/auto-close-issues@v1.0.2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          github-token: ${{ secrets.GITHUB_TOKEN }}
 | 
					          github-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
 | 
				
			||||||
          issue-close-message: "@${issue.user.login}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template." # optional property
 | 
					          closed-issues-label: '🙁 Auto-Closed'
 | 
				
			||||||
          closed-issues-label: "🙁 Not following issue template" # optional property
 | 
					          issue-close-message: |
 | 
				
			||||||
 | 
					            Hello @${issue.user.login}
 | 
				
			||||||
 | 
					            Unfortunately your issue does not follow the format outlined in the template, and has therefore been auto-closed.
 | 
				
			||||||
 | 
					            To ensure that all relevant info is included, please either update or recreate your issue, and complete the sub-headings provided.
 | 
				
			||||||
 | 
					            Thank you :)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue