File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11name : mysql demo db build
2- on : pull_request
2+ on :
3+ pull_request_review :
4+ types : [submitted]
35
46jobs :
57 mimic-iv-mysql :
8+ # only run if PR is approved
9+ if : github.event.review.state == 'approved'
610 runs-on : ubuntu-22.04
11+ needs : approved
712
813 steps :
914 - name : Check out repository code
Original file line number Diff line number Diff line change 11name : psql demo db build
2- on : pull_request
2+ on :
3+ pull_request_review :
4+ types : [submitted]
35
46jobs :
57 mimic-iv-psql :
6- # Containers must run in Linux based operating systems
8+ # only run if PR is approved
9+ if : github.event.review.state == 'approved'
710 runs-on : ubuntu-latest
8- # Docker Hub image that `container-job` executes in
911 container : node:latest
1012
11- # Service containers to run with `container-job`
1213 services :
1314 # Label used to access the service container
1415 postgres :
1516 # Docker Hub image
1617 image : postgres
17- # Provide the password for postgres
1818 env :
1919 POSTGRES_PASSWORD : postgres
2020 # Set health checks to wait until postgres has started
5959 fi
6060
6161 env :
62- # The hostname used to communicate with the PostgreSQL service container
6362 POSTGRES_HOST : postgres
6463 PGPASSWORD : postgres
6564 BUILDCODE_PATH : mimic-iv/buildmimic/postgres
You can’t perform that action at this time.
0 commit comments