Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need the approve to run the stop #646

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
unittest:
name: unittest
runs-on: ubuntu-latest
needs: [approve]
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
Expand Down Expand Up @@ -60,7 +61,7 @@ jobs:

terraform_apply:
name: terraform_apply
needs: [unittest]
needs: [unittest, approve]
runs-on: ubuntu-latest
outputs:
INSTANCE_ID: ${{ steps.terraform_instance_id.outputs.INSTANCE_ID }}
Expand Down Expand Up @@ -108,7 +109,7 @@ jobs:

integration:
name: integration
needs: [ unittest, terraform_apply ]
needs: [ unittest, terraform_apply, approve ]
runs-on: ubuntu-latest
strategy:
max-parallel: 1
Expand Down Expand Up @@ -180,7 +181,7 @@ jobs:

terraform_destroy:
name: terraform_destroy
needs: [unittest, terraform_apply, integration]
needs: [unittest, terraform_apply, integration, approve]
if: success() || failure()
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -222,7 +223,7 @@ jobs:

e2e:
name: e2e
needs: [ unittest, terraform_apply, integration ]
needs: [ unittest, terraform_apply, integration, approve ]
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
Loading