Add PR approval wait (#8640)

This commit is contained in:
Pere Miquel Brull 2022-11-10 10:53:48 +01:00 committed by GitHub
parent 43ea44a0f9
commit cc2973e61c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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: |

View File

@ -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

View File

@ -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: