mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 01:19:20 +08:00 
			
		
		
		
	ci: don't run s390x tests on PRs of forks (#3494)
* ci: don't run s390x tests on PRs of forks * ci: check if fork by matchinging name from event against name of repo
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							d84a5d8427
						
					
				
				
					commit
					5b48f784ae
				
			
							
								
								
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@ -123,7 +123,7 @@ jobs:
 | 
			
		||||
  s390x-test:
 | 
			
		||||
    name: test (s390x on IBM Z)
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    if: ${{ github.repository == 'caddyserver/caddy' }}
 | 
			
		||||
    if: github.event.pull_request.head.repo.full_name == github.repository
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout code into the Go module directory
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user