mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Merge pull request #6782 from nielsvanvelzen/openapi-pr-target
This commit is contained in:
		
						commit
						b64d9bcd40
					
				
							
								
								
									
										6
									
								
								.github/workflows/openapi.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/openapi.yml
									
									
									
									
										vendored
									
									
								
							@ -3,7 +3,7 @@ on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - master
 | 
			
		||||
  pull_request:
 | 
			
		||||
  pull_request_target:
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  openapi-head:
 | 
			
		||||
@ -12,6 +12,8 @@ jobs:
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout repository
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
        with:
 | 
			
		||||
          ref: ${{ github.head_ref }}
 | 
			
		||||
      - name: Setup .NET Core
 | 
			
		||||
        uses: actions/setup-dotnet@v1
 | 
			
		||||
        with:
 | 
			
		||||
@ -53,7 +55,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  openapi-diff:
 | 
			
		||||
    name: OpenAPI - Difference
 | 
			
		||||
    if: ${{ github.event_name == 'pull_request' }}
 | 
			
		||||
    if: ${{ github.event_name == 'pull_request_target' }}
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    needs:
 | 
			
		||||
      - openapi-head
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user