mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-11-03 20:19:31 +00:00 
			
		
		
		
	Add PR approval wait (#8640)
This commit is contained in:
		
							parent
							
								
									43ea44a0f9
								
							
						
					
					
						commit
						cc2973e61c
					
				
							
								
								
									
										6
									
								
								.github/workflows/airflow-apis-tests-3_9.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/airflow-apis-tests-3_9.yml
									
									
									
									
										vendored
									
									
								
							@ -33,6 +33,12 @@ jobs:
 | 
			
		||||
  airflow-apis-tests:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Wait for approval
 | 
			
		||||
      uses: lewagon/wait-on-check-action@master
 | 
			
		||||
      with:
 | 
			
		||||
        ref: ${{ github.event.pull_request.head.sha }}
 | 
			
		||||
        check-name: 'Approval'
 | 
			
		||||
        repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
    - name: Checkout
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
 | 
			
		||||
@ -41,6 +41,12 @@ jobs:
 | 
			
		||||
        job: [0, 1]
 | 
			
		||||
    environment: cypress
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Wait for approval
 | 
			
		||||
        uses: lewagon/wait-on-check-action@master
 | 
			
		||||
        with:
 | 
			
		||||
          ref: ${{ github.event.pull_request.head.sha }}
 | 
			
		||||
          check-name: 'Approval'
 | 
			
		||||
          repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
 | 
			
		||||
@ -41,6 +41,12 @@ jobs:
 | 
			
		||||
        job: [0, 1]
 | 
			
		||||
    environment: cypress
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Wait for approval
 | 
			
		||||
        uses: lewagon/wait-on-check-action@master
 | 
			
		||||
        with:
 | 
			
		||||
          ref: ${{ github.event.pull_request.head.sha }}
 | 
			
		||||
          check-name: 'Approval'
 | 
			
		||||
          repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								.github/workflows/maven-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/maven-build.yml
									
									
									
									
										vendored
									
									
								
							@ -45,6 +45,12 @@ jobs:
 | 
			
		||||
          - 16.x
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Wait for approval
 | 
			
		||||
        uses: lewagon/wait-on-check-action@master
 | 
			
		||||
        with:
 | 
			
		||||
          ref: ${{ github.event.pull_request.head.sha }}
 | 
			
		||||
          check-name: 'Approval'
 | 
			
		||||
          repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
      - name: install libssl
 | 
			
		||||
        run: |
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								.github/workflows/py-tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/py-tests.yml
									
									
									
									
										vendored
									
									
								
							@ -36,6 +36,12 @@ jobs:
 | 
			
		||||
      matrix:
 | 
			
		||||
        py-version: ['3.7', '3.8', '3.9']
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Wait for approval
 | 
			
		||||
      uses: lewagon/wait-on-check-action@master
 | 
			
		||||
      with:
 | 
			
		||||
        ref: ${{ github.event.pull_request.head.sha }}
 | 
			
		||||
        check-name: 'Approval'
 | 
			
		||||
        repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
    - name: Checkout
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								.github/workflows/yarn-coverage.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/yarn-coverage.yml
									
									
									
									
										vendored
									
									
								
							@ -29,6 +29,12 @@ jobs:
 | 
			
		||||
        node-version: [16.x]
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Wait for approval
 | 
			
		||||
      uses: lewagon/wait-on-check-action@master
 | 
			
		||||
      with:
 | 
			
		||||
        ref: ${{ github.event.pull_request.head.sha }}
 | 
			
		||||
        check-name: 'Approval'
 | 
			
		||||
        repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
    - uses: actions/checkout@v2
 | 
			
		||||
      with:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user