fix(ci): run dotnet format check only on push to .net paths
This commit is contained in:
		
							
								
								
									
										16
									
								
								.github/workflows/dotnetformat.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/dotnetformat.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,19 @@
 | 
			
		||||
name: Format check on pull request
 | 
			
		||||
on: [push, pull_request]
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    paths:
 | 
			
		||||
    - 'Myriad/**'
 | 
			
		||||
    - 'PluralKit.API/**'
 | 
			
		||||
    - 'PluralKit.Bot/**'
 | 
			
		||||
    - 'PluralKit.Core/**'
 | 
			
		||||
  pull_request:
 | 
			
		||||
    paths:
 | 
			
		||||
    - 'Myriad/**'
 | 
			
		||||
    - 'PluralKit.API/**'
 | 
			
		||||
    - 'PluralKit.Bot/**'
 | 
			
		||||
    - 'PluralKit.Core/**'
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  dotnet-format:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user